def t_clock():
import time
while True:
s = time.asctime()
print(s[11:19],end="")
time.sleep(1)
print("\r",end="",flush = True)
t_clock()
用Python print 动态时间
猜你喜欢
转载自blog.csdn.net/weixin_43473360/article/details/83214991
今日推荐
周排行