"Feature" in ntpath.py in Python 2.0?
Fredrik Lundh
fredrik at pythonware.com
Sun May 6 10:38:13 EDT 2001
Ben Allfree wrote:
> Thanks, Tim. I running NT, but when I use the os module to concatenate URLs,
> os uses a \ instead of a /. That's why I temporarily changed os.sep to /, but
> it doesn't work any more :)
use urlparse.urljoin() instead.
(URL's aren't filenames. if they were, using posixpath
would be much better than using ntpath+kludge)
Cheers /F
More information about the Python-list
mailing list