convert calender in string in python code example
Example: how to make sun as first day in calendar python
import calendar
# to set the first weekday to SUNDAY.
calendar.setfirstweekday(calendar.SUNDAY)
print(calendar.month(2020, 10 ))
import calendar
# to set the first weekday to SUNDAY.
calendar.setfirstweekday(calendar.SUNDAY)
print(calendar.month(2020, 10 ))