about special characters

MRAB python at mrabarnett.plus.com
Fri Apr 29 22:53:16 EDT 2016


On 2016-04-30 03:35, eryk sun wrote:
> On Fri, Apr 29, 2016 at 8:48 PM, Ben Finney <ben+python at benfinney.id.au> wrote:
>> Steven D'Aprano <steve at pearwood.info> 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.




More information about the Python-list mailing list