os.remove / windows / spaces?

j2 spamfilter2 at mupp.net
Fri Mar 28 14:11:12 CET 2003


> RTFErrormessage. The argument path has " at each end -- not a valid
> character in a path in Windows.

Yes, but

tempdir = 'u:\\Program\\Network Associates\\tvd\\updates\\temp\\'
pubdir = 'u:\\Program\\Network Associates\\tvd\\updates\\'
updateini = 'update.ini'

If so, where does the double quotes come from?  I tried escaping hte space,
but that didnt work. But the os.path.join worked.






More information about the Python-list mailing list