📜  如何在日历python代码示例中将太阳作为第一天

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

代码示例1
import calendar

# to set the first weekday to SUNDAY.
calendar.setfirstweekday(calendar.SUNDAY)
print(calendar.month(2020, 10 ))