[Python-ideas] pep 397
liam.marsh.home at gmail.com
Thu Jan 1 13:47:54 CET 2015
"I suspect you don't
need any changes to the language to make this work"
- you are right, this problem does not affect the language itself, but the
- I was thinking of an "pyidle" executable next to the "py" and "pyw"
I am also trying to create a small script to do this...
2014-12-30 23:38 GMT+01:00 Chris Angelico <rosuav at gmail.com>:
> On Wed, Dec 31, 2014 at 7:31 AM, Liam Marsh <liam.marsh.home at gmail.com>
> > the pep 397 says that any python script is able to choose the language
> > version which will run it, between all the versions installed on the
> > computer, using on windows a launcher in the "C:\windows" folder.
> > can the idle version be chosen like this too, or can the idle "run"
> > do it?
> I don't know of a way off-hand. However, if the information is already
> there in the shebang (as per PEP 397), it ought to be possible to rig
> up a launcher/chooser script. This might be something to discuss on
> python-list at python.org, rather than here; there are a lot more people
> on python-list than there are here on -ideas, and I suspect you don't
> need any changes to the language to make this work.
> It's also entirely possible that someone there already knows exactly
> what you need to do!
> Python-ideas mailing list
> Python-ideas at python.org
> Code of Conduct: http://python.org/psf/codeofconduct/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas