Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:How': 0.10; 'python': 0.11; 'jan': 0.12; 'windows': 0.15; 'backward': 0.16; 'command,': 0.16; 'command.': 0.16; 'pathname': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'slash': 0.16; 'subject:mirror': 0.16; 'wrote:': 0.18; 'command': 0.22; 'header:User-Agent:1': 0.23; 'header:X -Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'tim': 0.29; 'subject:with': 0.35; 'example,': 0.37; 'handle': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'free': 0.61; 'received:173': 0.61; 'forward': 0.65; 'worth': 0.66; 'subjectcharset:utf-8': 0.72; 'received:fios.verizon.net': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: =?UTF-8?B?UmU6IEhvdyB0byBzcGxpdCB3aXRoICJcIiBjaGFyYWN0ZXIsIGFuZCA=?= =?UTF-8?B?bGljZW5jZSBjb3B5bGVmdCBtaXJyb3Igb2Yg77+9?= Date: Fri, 06 Sep 2013 02:15:50 -0400 References: <5225443e$0$6599$c3e8da3$5496439d@news.astraweb.com> <20130903053159.5221f886@bigbox.christie.dr> <84ji2914grkpljfom0kihfpfvlo33bssbo@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-173-75-251-66.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 In-Reply-To: <84ji2914grkpljfom0kihfpfvlo33bssbo@4ax.com> 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: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1378448173 news.xs4all.nl 15938 [2001:888:2000:d::a6]:34961 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:53766 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 -- Terry Jan Reedy