Skip to content

Instantly share code, notes, and snippets.

@ToniRV
Created September 27, 2019 16:03
Show Gist options
  • Save ToniRV/7a24d9945b48a2ae970de7d2ef85af6e to your computer and use it in GitHub Desktop.
Save ToniRV/7a24d9945b48a2ae970de7d2ef85af6e to your computer and use it in GitHub Desktop.
Minimal argparse example for copy-pasting
import argparse
parser = argparse.ArgumentParser()
parser.add_argument("echo")
args = parser.parse_args()
print args.echo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment