In python while trying to parse time using strptime. I am getting the error unconverted data remains. Can someone please help identify where I am making mistake
>>> from datetime import datetime
>>> s = "00:00:49.9342733"
>>> duration = datetime.strptime(s, '%H:%M:%S.%f')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "_strptime.py", line 568, in _strptime_datetime
tt, fraction, gmtoff_fraction = _strptime(data_string, format)
File "_strptime.py", line 352, in _strptime
raise ValueError("unconverted data remains: %s" %
ValueError: unconverted data remains: 3