[python-win32] cwd of program
le.dahut at laposte.net
Fri Oct 21 15:28:27 CEST 2005
I try to get the program's directory, the one where the .exe (or .py)
With os.getcwd() I get the directory from where the program is launched
not his directory. The program has to copy some files and thus I get an
error like "XXXXXX no such file or directory" (the DOS box closed to
quickly to have the detailed error msg...) where XXXXXX is a
sub-directory of the program's one.
Does someone have the solution ?
More information about the Python-win32