Convertir l'objet Time en chaîne en python

# Python program to demonstrate time class
# import the date class
from datetime import time

# Creating Time object
Time = time(12,24,36,232)

# Converting Time object to string
Str = Time.isoformat()
print("String Representation:", Str)
print(type(Str))
Outrageous Ostrich