Putting quotemarks "" around the path would be a good start, I think.
Cheers, Xav On Sun, Dec 20, 2009 at 11:40 PM, Ray Holt <mrhol...@sbcglobal.net> wrote: > Why am I getting an invalid syntax error on the following: > os.chdir(c:\\Python_Modules). The error message says the colon after c is > invalid syntax. Why is it saying this when I am trying to change directory > to c:\Python_Modules. Thanks, Ray > > -- > http://mail.python.org/mailman/listinfo/python-list > >
-- http://mail.python.org/mailman/listinfo/python-list