标签:
import calendar print range(calendar.monthrange(year, month)[1]+1)[1:]
python 获取某个月的全部日期
原文地址:http://www.cnblogs.com/haoshine/p/5519670.html