Created
January 3, 2020 18:20
-
-
Save ilyasustun/97b95294ce749eb60b8a7b56ddc97b56 to your computer and use it in GitHub Desktop.
create directory in python
This file contains 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 | |
path = 'C:/some_place' | |
if not os.path.exists(path): | |
os.makedirs(path) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment