A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-March/108931.html below:

[Python-Dev] [PEPs] Support the /usr/bin/python2 symlink upstream

[Python-Dev] [PEPs] Support the /usr/bin/python2 symlink upstream [Python-Dev] [PEPs] Support the /usr/bin/python2 symlink upstreamJames Y Knight foom at fuhm.net
Mon Mar 7 23:18:00 CET 2011
On Mar 7, 2011, at 3:49 PM, Paul Moore wrote:
> The launcher could also (as per Mark's suggestion) interpret a shebang
> line in the script, so that scripts could specify their required
> version without needing a different command,or multiple
> version-specific extensions.

Note that, on Unix, "python file.py" doesn't choose the correct version of python to run by looking at a shebang, it just runs the version of python installed as "python". Only "./file.py" looks at the shebang (assuming that file is marked executable). 

Is the proposal to make python.exe do that on windows? That is a rather significant difference from the unix behavior.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4