How to split with "\" character, and licence copyleft mirror of ©

Tim Roberts timr at probo.com
Thu Sep 5 23:33:09 EDT 2013


random832 at 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.
-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the Python-list mailing list