Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'interpreter': 0.05; 'needed,': 0.07; 'apis': 0.09; 'arguments': 0.09; 'subject:How': 0.10; 'cc:addr:python-list': 0.11; 'python': 0.11; 'windows': 0.15; '"terry': 0.16; '>>': 0.16; 'backward': 0.16; 'command,': 0.16; 'command.': 0.16; 'email addr:udel.edu>': 0.16; 'email name:<tjreedy': 0.16; 'pathname': 0.16; 'reedy"': 0.16; 'slash': 0.16; 'subject:mirror': 0.16; 'tab': 0.16; 'wrote:': 0.18; 'command': 0.22; '>>>': 0.22; 'cc:addr:python.org': 0.22; '>>>': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; '>': 0.26; 'header:In-Reply- To:1': 0.27; 'tim': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'sep': 0.31; 'subject:with': 0.35; 'received:google.com': 0.35; "didn't": 0.36; 'example,': 0.37; 'handle': 0.38; 'pm,': 0.38; 'sure': 0.39; 'free': 0.61; 'forward': 0.65; 'worth': 0.66; 'subjectcharset:utf-8': 0.72; 'completion': 0.78; 'fortunately': 0.84; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=W4KzESuyXP4ofv5cOF2B8eufUA2z9Re63SQil1m3J+8=; b=SI0DpvCXsPrzfSGdUILNUF9fVFgVxnKRS8BNaq3WCi2paKUfIWSXjryRZMuNSU9IJV RLd2ylrCokwGtTSQwz2aoEEfJ7TF6QQyak7z1/RRist/BwD5OJJdgQzcfmDsiwN/RZwt LJs0Antb0ooCfvjts5Q9IQa+oVhIzA+T/++jdU0zSATtG3xrxmEimNKIbbXcNwsNf2lJ e4N0M2myd8Zsxa5VDXL8YLE2Vh46OFYI4v3Qn1t7PuzOaUoJi8Zqxn33Ep72KSj/AYeb pxZr4mguUQ8EedTOI3DkhKENmiT3YPdx8RRsFVOJgY/lwu3N0MOJ+KtNyiRqBB1PEYbn FAuw== MIME-Version: 1.0 X-Received: by 10.229.51.69 with SMTP id c5mr1751966qcg.24.1378894591477; Wed, 11 Sep 2013 03:16:31 -0700 (PDT) In-Reply-To: References: <5225443e$0$6599$c3e8da3$5496439d@news.astraweb.com> <20130903053159.5221f886@bigbox.christie.dr> <84ji2914grkpljfom0kihfpfvlo33bssbo@4ax.com> Date: Wed, 11 Sep 2013 11:16:31 +0100 Subject: =?UTF-8?Q?Re=3A_How_to_split_with_=22=5C=22_character=2C_and_licence_cop?= =?UTF-8?Q?yleft_mirror_of_=EF=BF=BD?= From: =?ISO-8859-1?Q?F=E1bio_Santos?= To: Terry Jan Reedy Content-Type: multipart/alternative; boundary=001a113397784f01df04e618eabb Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 74 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1378894600 news.xs4all.nl 15991 [2001:888:2000:d::a6]:40582 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:53947 --001a113397784f01df04e618eabb Content-Type: text/plain; charset=ISO-8859-1 On 6 Sep 2013 07:18, "Terry Reedy" 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. --001a113397784f01df04e618eabb Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable


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 pa= thname 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 interchangabl= y. =A0It is
>> only the command interpreter that requires the backslash.
>
>
> and only for the path the the command, when needed, and not for the ar= guments 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 all= owed 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.=

--001a113397784f01df04e618eabb--