Created
May 10, 2018 09:41
-
-
Save aashutoshrathi/9925695e42c5042a4cbcbe14c35c9a44 to your computer and use it in GitHub Desktop.
Nothing needed Forever fixed.
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 | |
import time | |
folder = time.strftime("%Y") + " BHASKAR" | |
newpath = os.path.join('D:', folder, time.strftime("%B"), time.strftime("%d-%m-%Y")) | |
print(newpath) | |
if not os.path.exists(newpath): | |
os.makedirs(newpath) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment