[Python-Dev] PEP 389: argparse - new command line parsing module (original) (raw)
Nick Coghlan ncoghlan at gmail.com
Sat Oct 3 07:15:53 CEST 2009
- Previous message: [Python-Dev] PEP 3121
- Next message: [Python-Dev] PEP 389: argparse - new command line parsing module
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Toshio Kuratomi wrote:
About exit(), I agree with others about wanting to catch the exception myself and then choosing to exit from the code. I'm not sure that it's actually useful in practice, though...it might just feel cleaner but not actually be that helpful.
As others have pointed out, if you want to do that then you can just catch SystemExit.
Cheers, Nick.
-- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
- Previous message: [Python-Dev] PEP 3121
- Next message: [Python-Dev] PEP 389: argparse - new command line parsing module
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]