human
How do I translate a ISO 8601 datetime string into a Python datetime object?
assistant
Here is some code to none

datetime.datetime.strptime('2007-03-04T21:08:12', '%Y-%m-%dT%H:%M:%S')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.