摘要:
1. 显示当前日期:1 #! /usr/bin/env python2 #coding=utf-83 4 import time5 6 print time.strftime('%Y-%m-%d %A %X %Z',time.localtime(time.time()))或者1 #! /usr/bin/env python2 #coding=utf-83 4 import time5 6 print time.time()7 8 print time.strftime("%Y-%m-%d %A %X %Z", time.localtime())你也可以用: 阅读全文
posted @ 2011-10-18 12:25
方倍工作室
阅读(4844)
评论(0)
推荐(0)
浙公网安备 33010602011771号