more on unescaping escapes

Chris Rebert clp2 at rebertia.com
Mon Feb 23 19:41:50 EST 2009


On Mon, Feb 23, 2009 at 4:26 PM, bvdp <bob at mellowood.ca> wrote:
[problem with Python and Windows paths using backslashes]

Is there any particular reason you can't just internally use regular
forward-slashes for the paths? They work in Windows from Python in
nearly all cases and you can easily interconvert using os.pathsep if
you want the path to be pretty when you show it to (or get it from)
the user or whatever.

Cheers,
Chris

-- 
Follow the path of the Iguana...
http://rebertia.com



More information about the Python-list mailing list