Created
February 13, 2015 01:25
-
-
Save tomquisel/9ea45a3c420ba13b3dab to your computer and use it in GitHub Desktop.
Base python template
This file contains hidden or 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
#!/usr/bin/env python | |
import sys, os, re, random | |
import time, datetime | |
from collections import defaultdict | |
import pandas as pd | |
import numpy as np | |
from argparse import ArgumentParser | |
def main(): | |
args = handle_args() | |
def handle_args(): | |
description = 'Do some stuff.' | |
parser = ArgumentParser(description=description) | |
parser.add_argument("--user", default='bananaproblem', help="username to search") | |
parser.add_argument("-n", dest="num", type=int, default=16) | |
return parser.parse_args() | |
if __name__ == '__main__': | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment