This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author keyphrene
Recipients
Date 2004-06-26.16:29:14
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
on windows

print os.path.normpath("c:\\blah\\\\blah.exe")
>>> c:\\blah\\blah.exe # correct syntax

print os.path.normpath("c:\\\\blah\\\\blah.exe")
>>> c:\\\\blah\\blah.exe # wrong syntax

this trouble gets an os error with the rename command
(OSError: [Errno 2] No such file or directory)

an solution:
path.replace("\\\\","\\")
History
Date User Action Args
2007-08-23 14:23:00adminlinkissue980327 messages
2007-08-23 14:23:00admincreate