点击运行
#!/usr/bin/python3 import time localtime = time.asctime( time.localtime(time.time()) ) print ("本地时间为 :", localtime)
运行结果 :
正在执行...