Created
October 31, 2013 03:30
-
-
Save garrettwilkin/7244004 to your computer and use it in GitHub Desktop.
This file gives me the error: $ python timey.py Traceback (most recent call last): File "timey.py", line 3, in <module> print datetime.strptime('2013-10-29T02:03:59Z','%Y-%m-%dT%H:%M:%S%z')
AttributeError: 'module' object has no attribute 'strptime'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import datetime | |
print datetime.strptime('2013-10-29T02:03:59Z','%Y-%m-%dT%H:%M:%S%z' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment