[Python-Dev] PEP397 no command line options to python? (original) (raw)
Mark Hammond mhammond at skippinet.com.au
Mon Oct 24 03:58:35 CEST 2011
- Previous message: [Python-Dev] PEP397 no command line options to python?
- Next message: [Python-Dev] PEP397 no command line options to python?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 24/10/2011 12:56 PM, Michael Urman wrote:
On Sun, Oct 23, 2011 at 17:15, Mark Hammond<skippy.hammond at gmail.com> wrote:
How about abusing the existing flags for this purpose - eg:
% py -3? % py -2.7? I would have expected that to launch an interactive python shell of the appropriate version. Does it do something else today?
That is what it does today without the trailing '?' character. My idea was to allow the trailing '?' to behave like the proposed --which.
Mark
- Previous message: [Python-Dev] PEP397 no command line options to python?
- Next message: [Python-Dev] PEP397 no command line options to python?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]