美文网首页
time.ctime()

time.ctime()

作者: pyfran | 来源:发表于2016-02-24 09:28 被阅读0次

以下实例展示了 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