Say I have a string with format HHMMSS.SS how do I convert this to a time object?

This is how I thought you would do it:

import time
time.strptime(timestring, '%H%M%S')

However%S does not take take into account fractions of seconds according to the time documentation.

Edit
Report