Slide 31
Slide 31 text
arg, but the good kind
# First, we make a parser with argparse:
parser = argparse.ArgumentParser(description = 'Specify optional preferences.')
parser.add_argument('--location', '-l', help = 'Specify a particular location')
parser.add_argument('--timeframe', '-t', help = 'What timeframe to print out',
choices = ['currently', 'minutely', 'hourly', 'daily'])