python 打印当前时间,简单直接

print (time.strftime(’%H:%M:%S’,time.localtime(time.time())))

猜你喜欢

转载自blog.csdn.net/mengdg3000/article/details/84880635
今日推荐