📜  如何在python代码示例中获取当前月份的日历

📅  最后修改于: 2022-03-11 14:45:37.289000             🧑  作者: Mango

代码示例1
import calendar
import datetime
month = datetime.date.today().month
year = datetime.date.today().year
print (calendar.month(year,month))