I am trying to create a new dictionary.
import os
import datetime
parent_dir = "E:\\"
directory = "cali"
now = datetime.datetime.utcnow().strftime("%b-%d_%H:%M:%S")
path = os.path.join(parent_dir, directory, now)
os.makedirs(path)
But I am getting this error:
OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'E:\\cali\\Dec-25_07:53:44'