Re: How to split with "\" character, and licence copyleft mirror of �

Fábio Santos fabiosantosart at gmail.com
Wed Sep 11 06:16:31 EDT 2013


On 6 Sep 2013 07:18, "Terry Reedy" <tjreedy at udel.edu> wrote:
>
> On 9/5/2013 11:33 PM, Tim Roberts wrote:
>>
>> 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.
>
>
> 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
>

Interesting. I was pretty sure that forward slashes were allowed in this
situation, just that tab completion didn't work unless you used backslashes.

Well, fortunately I'm not able to check that these days.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130911/cd188135/attachment.html>


More information about the Python-list mailing list