OS.SYSTEM ERROR !!!

Christian Heimes lists at cheimes.de
Tue Sep 30 20:10:53 CEST 2008


giltay at gmail.com wrote:
> I would add the following line right before your call to os.system:
> 
> os.chdir(r'C:\myprogramfolder\run')

I wouldn't. os.chdir() tends to introduce all sorts of trouble. It's a 
quick n'dirty hack for a small script but no solution for a large 
program or library.

Christian




More information about the Python-list mailing list