On 9/5/2013 11:33 PM, Tim Roberts wrote:
random...@fastmail.us wrote:

Of course, in 99% of situations where you can use a windows pathname in
Python, you are free to use it with a forward slash instead of a
backslash.

This is actually worth repeating, because it's not well known.

ALL Windows APIs handle forward and backward slashes interchangably.  It is
only the command interpreter that requires the backslash.

and only for the path the the command, when needed, and not for the arguments of the command. Example, in a python development directory

> pcbuild\python_d tools/scripts/patchcheck.py

--
Terry Jan Reedy

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

Reply via email to