Created
September 27, 2019 16:03
-
-
Save ToniRV/7a24d9945b48a2ae970de7d2ef85af6e to your computer and use it in GitHub Desktop.
Minimal argparse example for copy-pasting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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