"Feature" in ntpath.py in Python 2.0?

Tim Howarth tim at worthy.demon.co.uk
Sun May 6 11:01:17 EDT 2001


In message <3AF55E0E.AB722A2C at bldigital.com>
          Ben Allfree <cm at bldigital.com> 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 :)

You could import posixpath and use posixpath.join.

Though I'd have thought there would be a URLpath handler somewhere.

-- 
___
 |im    ---- ARM Powered ----



More information about the Python-list mailing list