Convert timestamps with offset to datetime obj using strptime
I am trying to convert time-stamps of the format “2012-07-24T23:14:29-07:00”
to datetime objects in python using strptime method. The problem is with the time offset at the end(-07:00). Without the offset i can successfully do