On 01/23/2016 11:43 AM, Steve Petrie, P.Eng. wrote:
[snip]
I'm not sure what your exact problem is, but I can say that it isn't
this; the Unix-style forward slash is perfectly legal under Windows
(and it's even legal to mix and match).

ChrisA

I never knew that the forward slash is legal under Windows -- thanks for the 
tip :)

A minor clarification...

If the path string is typed directly into Windows where it is parsed by (whatever is the current equivalent of) command.com, forward slashes are NOT accepted. Because there it is used to indicate command-line options.

But if this string comes from a program where it is parsed by an API, it IS accepted. And this has been the case even since MSDOS prior to Windows.

     -=- Larry -=-

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to