以下实例展示了 ctime() 函数的使用方法:
#!/usr/bin/python
import time
print "time.ctime() : %s" % time.ctime()
以上实例输出结果为:
time.ctime(): Tue Feb 17 10:00:18 2013
以下实例展示了 ctime() 函数的使用方法:
#!/usr/bin/python
import time
print "time.ctime() : %s" % time.ctime()
以上实例输出结果为:
time.ctime(): Tue Feb 17 10:00:18 2013
本文标题:time.ctime()
本文链接:https://www.haomeiwen.com/subject/zvqikttx.html
网友评论