hi I try to get the program's directory, the one where the .exe (or .py) is. 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 ? Thanks _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32