Created
June 5, 2019 23:23
-
-
Save razhangwei/0c176c1ee05c27187e57bb1d2ecfd04e to your computer and use it in GitHub Desktop.
atom snippets
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
| '.source.python': | |
| 'import numpy': | |
| 'prefix': 'as np' | |
| 'body': 'import numpy as np' | |
| 'import pandas': | |
| 'prefix': 'as pd' | |
| 'body': 'import pandas as pd' | |
| 'import matplotlib.pylot': | |
| 'prefix': 'as plt' | |
| 'body': 'import matplotlib.pylot as plt' | |
| 'get_parser': | |
| 'prefix': 'get_parser' | |
| 'body': ''' | |
| def get_parser():, | |
| parser = argparse.ArgumentParser(description='$1') | |
| parser.add_argument('--$2', type=$3, default=$4, help='Default: $4') | |
| return parser\n\n | |
| args = get_parser().parse_args()\n | |
| ''' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment