PPython Coding (CLCODING)照片点击显示#DIGITAL CLOCK IN PYTHON #clcoding from datetime import datetime from time import sleep while 1: n=datetime.now() print(datetime.strftime(n,"%H:%M:%S"), end='\r') sleep(1) 7 · 2.6K · 07:28