chdir()

HMS Surprise john at datavoiceint.com
Tue May 8 15:54:39 EDT 2007


Tried executing os.chdir("c:\twill") from a python Tk shell and got
the error message:

WindowsError: [Error 123] The filename, directory name, or volume
label syntax is incorrect: 'c:\twill'.

I have the directory exists as I copied the name from the explorer
window that was open to it.

What is wrong with the syntax?

thanks,

jh




More information about the Python-list mailing list