时间的运用#coding=utf-8 #!user/bin/python import time import calendar ticks = time.asctime(time.localtime()) print ticks print '-------------------------------' print calendar.month(2015,4)