100-091

时间函数举例1。
 1 #! /usr/bin/env python
 2 # -*- coding:utf-8 -*-
 3 '''
 4 时间函数举例1。
 5 '''
 6 if __name__ == '__main__':
 7     import time
 8     print (time.ctime(time.time()))
 9     print (time.asctime(time.localtime(time.time())))
10     print (time.asctime(time.gmtime(time.time())))

 

posted @ 2018-06-24 20:45  睡到自然醒的猪  阅读(98)  评论(0)    收藏  举报

iaoexl at outlook dot com, 返回顶部 →友情链接: 信息港 同城信息