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 ncoghlan
Recipients jaraco, ncoghlan
Date 2009-10-31.05:00:30
SpamBayes Score 8.34073e-06
Marked as misclassified No
Message-id <1256965232.25.0.733954891053.issue7195@psf.upfronthosting.co.za>
In-reply-to
Content
It's not the current directory that's the problem, it's the current
drive. Windows has no absolute root directory - instead, it has a root
directory for each drive. That means that "\\dir" is a path relative to
the current drive rather than an absolute path. You need to put the
drive letter in there to make it an absolute path.

That's just a fact of life when working with the windows file system,
rather than anything specific to Python or os.path.relpath.
History
Date User Action Args
2009-10-31 05:00:32ncoghlansetrecipients: + ncoghlan, jaraco
2009-10-31 05:00:32ncoghlansetmessageid: <1256965232.25.0.733954891053.issue7195@psf.upfronthosting.co.za>
2009-10-31 05:00:30ncoghlanlinkissue7195 messages
2009-10-31 05:00:30ncoghlancreate