[Tutor] Arrgh! Paths on windows!

vmonkey vmonkey at earthlink.net
Tue Feb 24 10:54:25 EST 2004

What is wrong with the following lines of code?

import os

tmp = os.path.normpath("c:/Documents and Settings/Joe Blow/Local
Settings/Temporary Internet Files")

It SHOULD create a path properly formatted for windows in the variable 
tmp.  But I get this error whenever I run it:

SyntaxError: EOL while scanning single-quoted string

Can anyone help me with this?

More information about the Tutor mailing list