python练习程序(获取系统当前时间)
2012-06-11 21:48
639 查看
import time #n=input("input a year:") n=time.localtime()[1] ''' if n%400==0 or (n%4==0 and n%100!=0): print "yes" else: print "not" ''' print n
相关文章推荐
- Python获取当前系统时间
- python脚本――获取系统当前时间与前一天的时间
- python获取系统当前时间
- Python 获取当前系统的时间
- 分享java程序设计中一个小程序:获取当前系统日期和时间在小程序中显示出来
- python脚本工具 - 4 获取系统当前时间
- 利用Python获取系统当前时间
- Python获取当前系统时间
- Python获取当前系统时间
- python获取当前系统时间(yyyy-mm-dd)
- JAVA/C/C++获取当前系统毫秒时间+计算程序运行时间
- Python获取当前系统时间
- 【转】Python获取当前系统时间
- Python 获取当前系统时间及time模块学习笔记
- Python如何获取系统当前时间
- java/python中获取当前系统时间,并与字符串相互转换格式,或者转化成秒数,天数等整数
- 获取当前系统时间
- Windows 获取当前系统时间函数总结
- python 获取当前时间
- 获取当前系统时间