Nick Coghlan <ncogh...@gmail.com> added the comment: os.relpath *does* give you a relative path between two directories.
The problem you are encountering is that, on Windows, a relative path doesn't even *exist* if the two directories are on different drives (which is exactly what the error message says). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7195> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com