代码如下:
#encoding=utf-8 print "中国" #检查当前是否是夏令时 import time def is_dst(): return bool(time.localtime().tm_isdst) print is_dst()
中国 False