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
### argparse Examples | |
Snippet for short and long version flags: | |
parser.add_argument('-b', '--block', | |
nargs="?", | |
action='store', | |
dest='block', | |
metavar='block', | |
help='stores a value in block for -b or --block') |
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
https://github.com/ButtcoinBuzzwordBot |