Python, wxPython: Get result of script in different directory

49 Views Asked by At

sorry for my English, but is not my native language.

I made a python script that works like this:

python procesamiento.py Excel1

Excel1 is a string to a excel file in a different directory of my script. When I run the script, the result is another excel file, excelprocesado.xls, generated in the directory where the script is. How do I get excelprocesado.xls is generated in the directory where Excel1 is? I'm working with wxpython and wxGlade to get the path of Excel1

Thanks in advance :)

0

There are 0 best solutions below