Hello Touchers,
I’m trying to create folders using Python named after the local date every time I export pictures.
Any suggestions how to do it or where to looks for this ?
Thanks,
Hello Touchers,
I’m trying to create folders using Python named after the local date every time I export pictures.
Any suggestions how to do it or where to looks for this ?
Thanks,
You can use Popen to fire off commands to Windows cmd.
You can also try this version which seems simpler, but I haven’t tried it. I don’t ’ see why it wouldn’t work:
Thanks Elburz, I found the answer in a similar post on a python forum.
os.makedirs() works fine.
I attached a template for anyone who needs create a folder using the date for exports.
CreateNewFolderWithTodaysDate.toe (4.31 KB)