Created
March 1, 2018 15:19
-
-
Save sebatyler/07b1dde5ad63e5a6118d5873d5516b06 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
import os | |
file_path = '/tmp/zz/test.csv' | |
path_dir = os.path.dirname(file_path) | |
os.makedirs(path_dir, exist_ok=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment