[Python-Dev] PEP397 no command line options to python? (original) (raw)
Michael Urman murman at gmail.com
Mon Oct 24 04:15:49 CEST 2011
- Previous message: [Python-Dev] PEP397 no command line options to python?
- Next message: [Python-Dev] AUTO: Jon K Peck is out of the office (returning 10/27/2011)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sun, Oct 23, 2011 at 20:58, Mark Hammond <mhammond at skippinet.com.au> wrote:
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.
Oh, I read right over question mark without seeing it. I wonder if that's a notch against it from a documentation standpoint or just my own personal quirk. (I'm not used to thinking of it as a command line flag, partly due to my unix years.) Thanks for explaining!
- Previous message: [Python-Dev] PEP397 no command line options to python?
- Next message: [Python-Dev] AUTO: Jon K Peck is out of the office (returning 10/27/2011)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]