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