Ayuda
Ir al contenido

Dialnet


Resumen de Command line option parsing

David Beazley

  • If I look back, an overwhelming number of the Python programs I have written have been simple scripts and tools meant to be executed from the command line. Sure, I’ve created the occasional Web application, but the command line has always been where the real action is. However, I also have a confession—despite my reliance on the command line, I just can’t bring myself to use any of Python’s built-in libraries for processing command line options. Should I use the getopt module? Nope. Not for me. What about optparse or argparse? Bah! Get out!


Fundación Dialnet

Dialnet Plus

  • Más información sobre Dialnet Plus