Right now I have:
timestamp = datetime.strptime(date_string, \'%Y-%m-%d %H:%M:%S.%f\')
This works great unless I\'m converting a string tha
What about just appending it if it doesn't exist?
if '.' not in date_string: date_string = date_string + '.0' timestamp = datetime.strptime(date_string, '%Y-%m-%d %H:%M:%S.%f')