Putting quotemarks "" around the path would be a good start, I think.<br><br>Cheers,<br>Xav<br><br><div class="gmail_quote">On Sun, Dec 20, 2009 at 11:40 PM, Ray Holt <span dir="ltr"><<a href="mailto:mrholtsr@sbcglobal.net">mrholtsr@sbcglobal.net</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



<div>
<div><span><font face="Arial" size="2">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</font></span></div></div>
<br>--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
<br></blockquote></div><br>