import datetime result = datetime.datetime.strptime('Test', '%Y-%m-%d')
Standard input is empty
Standard output is empty
Traceback (most recent call last): File "prog.py", line 3, in <module> result = datetime.datetime.strptime('Test', '%Y-%m-%d') File "/usr/lib/python2.7/_strptime.py", line 325, in _strptime (data_string, format)) ValueError: time data 'Test' does not match format '%Y-%m-%d'