Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: MRAB Newsgroups: comp.lang.python Subject: Re: about special characters Date: Sat, 30 Apr 2016 03:53:16 +0100 Lines: 25 Message-ID: References: <85zischt1i.fsf@benfinney.id.au> <572402db$0$1583$c3e8da3$5496439d@news.astraweb.com> <85vb2zj27p.fsf@benfinney.id.au> <7ee9728b-e4e7-9c1d-3ba5-763b514282a2@mrabarnett.plus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de aI9Z+vHtC6PZZpte1iXeCg7oaXyadWEtf/x7piTZVv9A== 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; 'report.': 0.07; 'extension.': 0.09; 'fixed,': 0.09; 'subject:characters': 0.09; 'bug': 0.10; 'python': 0.10; 'assume': 0.11; '2.7': 0.13; 'applies': 0.15; '"python': 0.16; '(there': 0.16; '2016': 0.16; 'executables': 0.16; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'imo.': 0.16; 'message-id:@mrabarnett.plus.com': 0.16; 'received:192.168.1.4': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'x.y': 0.16; 'wrote:': 0.16; '>>>': 0.20; 'windows': 0.20; 'am,': 0.23; 'installation': 0.23; 'sat,': 0.23; 'header:In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'fri,': 0.27; 'dll': 0.27; 'turns': 0.27; 'behaviour': 0.29; '(i.e.,': 0.30; 'folder': 0.30; 'option': 0.31; "d'aprano": 0.33; 'steven': 0.33; 'windows.': 0.33; '(for': 0.34; 'file': 0.34; 'something': 0.35; 'but': 0.36; 'should': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'names': 0.38; 'files': 0.38; 'received:192': 0.39; 'to:addr:python.org': 0.40; 'default': 0.61; 'believe': 0.66 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=K//fZHiI c=1 sm=1 tr=0 a=0nF1XD0wxitMEM03M9B4ZQ==:117 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=IkcTkHD0fZMA:10 a=kZ7UWmmPAAAA:8 a=1vcGrF81fYnITt5AuW8A:9 a=QEXdDO2ut3YA:10 X-AUTH: mrabarnett@:2500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <7ee9728b-e4e7-9c1d-3ba5-763b514282a2@mrabarnett.plus.com> X-Mailman-Original-References: <85zischt1i.fsf@benfinney.id.au> <572402db$0$1583$c3e8da3$5496439d@news.astraweb.com> <85vb2zj27p.fsf@benfinney.id.au> Xref: csiph.com comp.lang.python:107898 On 2016-04-30 03:35, eryk sun wrote: > On Fri, Apr 29, 2016 at 8:48 PM, Ben Finney wrote: >> Steven D'Aprano writes: >>> On Sat, 30 Apr 2016 09:52 am, Ben Finney wrote: >>> >>> > (There has never been a Python 27. I assume Python 2.7 is what you >>> > meant.) >>> >>> I believe that Python X.Y shows up as "PythonXY" under Windows. >> >> Then that's a bug which should be fixed, IMO. An MS Windows user (i.e., >> not me) would be well placed to describe the behaviour in a bug report. > > It's Python X.Y in the start menu and Python X.Y.Z in sys.version. The > default installation directory is PythonXY (for 3.5.0 it was "Python > 3.5"; this was reverted in 3.5.1), and the DLL is pythonXY.dll. The > executables are python.exe and pythonw.exe. > There's an option in Windows to hide the extension. I wondered whether that had something to do with it. It turns out that it applies only to file names, not folder names, so you can have multiple files apparently with the same name, but folder names remain distinct.