Skip to content

Instantly share code, notes, and snippets.

Andrew Diederich andrewdied

  • Parker, CO
Block or report user

Report or block andrewdied

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@andrewdied
andrewdied / args_example.py
Last active Jun 27, 2017
python3 argparse example with importable default settings
View args_example.py
#!/usr/bin/python3
'''
> python3 args_example.py -h
usage: args_example.py [-h] [-f FIRST_OPTION] [-s SECOND_OPTION]
[-t THIRD_OPTION]
mandatory_argument
Example argument parser with default values.
positional arguments:
You can’t perform that action at this time.