demo_datetime_strftime_f.py:
x = datetime.datetime.now() print(x.strftime("%f"))
C:\Users\My Name>python demo_datetime_strftime_f.py