print datetime.strptime('2011-11-24T16:59:29.000000+0400', '%Y-%m-%dT%H:%M:%S.%f%z')Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/usr/lib/python2.7/_strptime.py", line 317, in _strptime
(bad_directive, format))
ValueError: 'z' is a bad directive in format '%Y-%m-%dT%H:%M:%S.%f%z'
%z - UTC offset in the form +HHMM or -HHMM (empty string if the the object is naive).
Что я делаю не так?