Jun-03-2018, 02:41 PM
Well, there is something in the filename that is not excepted in Windows. I don't remember what the allowed characters for filenames are. Perhaps the colons?
You have to change the datetime format.
For example. I don't use often the datetime module os I had to look ar the documentation
You have to change the datetime format.
For example. I don't use often the datetime module os I had to look ar the documentation
str(datetime.datetime.now().strftime('%Y-%m-%d %Hh%Mm%Ss'))