Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #53947

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

References (3 earlier) <5225443e$0$6599$c3e8da3$5496439d@news.astraweb.com> <20130903053159.5221f886@bigbox.christie.dr> <mailman.10.1378233513.5461.python-list@python.org> <84ji2914grkpljfom0kihfpfvlo33bssbo@4ax.com> <l0bruh$apb$1@ger.gmane.org>
Date 2013-09-11 11:16 +0100
Subject Re: How to split with "\" character, and licence copyleft mirror of �
From Fábio Santos <fabiosantosart@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.235.1378894600.5461.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

How to split with "\" character, and licence copyleft mirror of © materile11@gmail.com - 2013-09-01 17:03 -0700
  Re: How to split with "\" character, and licence copyleft mirror of © Cameron Simpson <cs@zip.com.au> - 2013-09-02 10:23 +1000
  Re: How to split with "\" character, and licence copyleft mirror of © Tim Chase <python.list@tim.thechases.com> - 2013-09-01 19:34 -0500
    Re: How to split with "\" character, and licence copyleft mirror of © materile11@gmail.com - 2013-09-01 21:20 -0700
  Re: How to split with "\" character, and licence copyleft mirror of © Tim Chase <python.list@tim.thechases.com> - 2013-09-01 19:40 -0500
  Re: How to split with "\" character, and licence copyleft mirror of © Tim Roberts <timr@probo.com> - 2013-09-01 19:40 -0700
    Re: How to split with "\" character, and licence copyleft mirror of © Ethan Furman <ethan@stoneleaf.us> - 2013-09-02 13:22 -0700
      Re: How to split with "\" character, and licence copyleft mirror of © Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-09-03 02:06 +0000
        Re: How to split with "\" character, and licence copyleft mirror of © Tim Chase <python.list@tim.thechases.com> - 2013-09-03 05:31 -0500
        Re: How to split with "\" character, and licence copyleft mirror of © random832@fastmail.us - 2013-09-03 14:31 -0400
          Re: How to split with "\" character, and licence copyleft mirror of © Tim Roberts <timr@probo.com> - 2013-09-05 20:33 -0700
            Re: How to split with "\" character, and licence copyleft mirror of � Terry Reedy <tjreedy@udel.edu> - 2013-09-06 02:15 -0400
            Re: How to split with "\" character, and licence copyleft mirror of © random832@fastmail.us - 2013-09-06 09:29 -0400
            Re: How to split with "\" character, and licence copyleft mirror of � Fábio Santos <fabiosantosart@gmail.com> - 2013-09-11 11:16 +0100

csiph-web