Obtenga horas, minutos, segundos y microsegundos con clase de tiempo
# Python program to demonstrate time class
# import the date class
from datetime import time
Time = time(8, 5, 56, 12)
print("hour =", Time.hour)
print("minute =", Time.minute)
print("second =", Time.second)
print("microsecond =", Time.microsecond)
Outrageous Ostrich