Post thumbnail of Handle command line arguments with getopt in Python
29 December 2009
Continue reading Handle command line arguments with getopt in Python

Handle command line arguments with getopt in Python

Here’s a way to use getopt to handle arguments when creating command line applications. It works quite well with the standard help (–help or -h) by showing usage when bad arguments are passed.

Powered by Wordpress   |   Lunated designed by ZenVerse