Uzyskaj godziny, minuty, sekundy i mikrosekundy za pomocą klasy czasu

# 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