Try timestamp = time.strftime('%H:%M:%S'). Check out this link for info on Python time module. https://docs.python.org/3/library/time.html#time.strftime.
確定! 回上一頁