Contribute Media
A thank you to everyone who makes this possible: Read More

Writing Command Line Friendly Applications


In "The Art of Unix Programming" ESR defines the rule of composition as: Design programs to be connected with other programs.

We'll discuss how to write applications that are good citizens of the command line. These applications can be show display nice help, accept data from standard input or files, emit only required data to standard output or files and more. We'll show how to use the argparse module to achieve these goals.


Improve this page