[Python-Dev] PEP 389: argparse - new command line parsing module (original) (raw)
Paul Moore p.f.moore at gmail.com
Thu Oct 8 00:30:26 CEST 2009
- Previous message: [Python-Dev] PEP 389: argparse - new command line parsing module
- Next message: [Python-Dev] PEP 389: argparse - new command line parsing module
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2009/10/7 Antoine Pitrou <solipsis at pitrou.net>:
Python 3 complains at startup and is a bit more explicit:
$ ./python -c '1' >&- Fatal Python error: PyInitialize: can't initialize sys standard streams OSError: [Errno 9] Bad file descriptor Abandon Of course, if it is stderr that you explicitly close, you lose all reporting: $ ./python -c '1' 2>&- Abandon
Hmm, how does Python 3's pythonw work on Windows? (I don't have a Windows installation of Python 3 to hand at the moment)
Paul
- Previous message: [Python-Dev] PEP 389: argparse - new command line parsing module
- Next message: [Python-Dev] PEP 389: argparse - new command line parsing module
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]