d = datetime.datetime.strptime('24.12.2019', '%d.%m.%Y')
"
Traceback (most recent call last):
File "main.py", line 60, in
s = datetime.datetime.strptime(f'{d}', "%d.%m.%Y")
File "/usr/local/lib/python3.7/_strptime.py", line 577, in _strptime_datetime
tt, fraction, gmtoff_fraction = _strptime(data_string, format)
File "/usr/local/lib/python3.7/_strptime.py", line 359, in _strptime
(data_string, format))
ValueError: time data '2' does not match format '%d.%m.%Y'"