You will need to use% f
time.strptime('26/01/12 23:50:32.123', '%d/%m/%y %H:%M:%S.%f')
Using datetime would be correct.
>>> from datetime import datetime
>>> a = datetime.strptime('26/01/12 23:50:32.123', '%d/%m/%y %H:%M:%S.%f')
>>> a.microsecond
source
to share