human
Parsing non-zero padded timestamps in Python
assistant
Here is some code to parse string '2015/01/01 12:12am' to DateTime object using format '%Y/%m/%d %I:%M%p'

datetime.strptime('2015/01/01 12:12am', '%Y/%m/%d %I:%M%p')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.