Skip to content

Instantly share code, notes, and snippets.

@dogweather
Created January 1, 2014 08:02
Show Gist options
  • Save dogweather/8206079 to your computer and use it in GitHub Desktop.
Save dogweather/8206079 to your computer and use it in GitHub Desktop.
The current best practice for parsing command line arguments with Python
optparse is deprecated.
use argparse.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment