Jan-12-2024, 04:54 AM
There are a lot of errors.
&Y is not a datetime format code.
mkdir {0}" is missing a starting "
The imports are all messed up:
You should not use \ as separators in a datetime format string. Use / or \\.
&Y is not a datetime format code.
mkdir {0}" is missing a starting "
The imports are all messed up:
rom datetime import datetime, date oneday = datetime.timedelta(days-1) yesterday = datetime.date.today() - onedaydatetime.timedelta(days-1) was probably meant to be datetime.timedelta(days=1)
You should not use \ as separators in a datetime format string. Use / or \\.