利用python获取某年中每个月的第一天和最后一天 搜索关键字:pythongeteveryfirstdayofmonth参考解答:方法一:>>>importcalendar>>>calendar 获取每个月的第一天