Skip to content

Instantly share code, notes, and snippets.

View sdreher's full-sized avatar

Susan Dreher sdreher

  • Columbia University @ccnmtl
  • New York City
View GitHub Profile
import argparse
def main(args):
print(args.url)
def parse_arguments():
parser = argparse.ArgumentParser(description="Accept arguments")
parser.add_argument('-url', '--url', required=True)
return parser.parse_args()