Skip to content Skip to sidebar Skip to footer

Converting String Date To Timestamp In Python 3.4

I am trying to convert string date to timestamp in Python as described in the post here. When I run the code examples in the post, I encounter an error. For e.g.: >>> impo

Solution 1:

Thanks to @J.F. Sebastian. I was caught in the name shadowing trap. I made the stupid mistake of naming one of my modules calendar.py. Once I removed this file, everything ran fine. I hope this post is not a waste and that someone may someday find it useful.


Post a Comment for "Converting String Date To Timestamp In Python 3.4"