Skip to content

Instantly share code, notes, and snippets.

@aashutoshrathi
Created May 10, 2018 09:41
Show Gist options
  • Save aashutoshrathi/9925695e42c5042a4cbcbe14c35c9a44 to your computer and use it in GitHub Desktop.
Save aashutoshrathi/9925695e42c5042a4cbcbe14c35c9a44 to your computer and use it in GitHub Desktop.
Nothing needed Forever fixed.
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