Open 85256638 opened 1 year ago
Yes,
Just add something along the lines of this to the print commands you already have
current_time = time.strftime("%H:%M:%S") print("Current Time: " + str(current_time))
Current:
print(
"mob x: {} y: {}, r: {} g: {} b: {}".format(
states["moveToX"], states["moveToY"], r, g, b
)
)
With timestame:
current_time = time.strftime("%H:%M:%S")
print(
str(current_time) +
" mob x: {} y: {}, r: {} g: {} b: {}".format(
states["moveToX"], states["moveToY"], r, g, b
)
)
would it be possible to add timestamps for the outputs?