def parse_strtime(timestr, fmt=PERFECT_TIME_FORMAT):
 return datetime.datetime.strptime(timestr, fmt)

def parse_strtime ( timestr , fmt = PERFECT_TIME_FORMAT ) : return datetime . datetime . strptime ( timestr , fmt )
turn a formatted time back into a datetime .