摘要: calendar模块的主要功能是针对万年历、星期几的,此外模块内还有方便的判断闰年、获取月份名、星期名的方法 1、模块的类 1.1、calendar.Calendar([firstweekday]) 四个获得生成器的函数:iterweekdays()、itermonthdates(year, mon 阅读全文