Created
September 13, 2016 08:15
-
-
Save gsrodgers/c4f459bf64356a67cf29ed77f66dcf1a to your computer and use it in GitHub Desktop.
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
| # Set folder names | |
| input_folder = r'output_csvs_from_mPEnergy' | |
| output_folder = r'reformatted_tpnhhd_data' | |
| archive_folder = r'archive' | |
| # find directory of python script | |
| cPath = os.path.dirname(os.path.abspath(__file__)) | |
| # go up one level | |
| folder = os.path.dirname(cPath) | |
| # set full location of input folder | |
| inPath = folder + os.sep + input_folder | |
| # set full location of output folder | |
| outPath = os.path.dirname(inPath) + os.sep + output_folder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment