# Create a plain text calendar

import calendar

c = calendar.TextCalendar(calendar.MONDAY)

str= c.formatyear(2024,2,1,6,3 )
''' w=2 (week col width)
    l=1 (line per cal row)
    c=6 (spaces between months)
    m=3 (months/row) '''

print (str)

foo= input("Press Enter to display current month\n")

import datetime
m = datetime.datetime.now().month
y = datetime.datetime.now().year
str= c.formatmonth(y,m)
print (str)


foo= input("Press Enter again to close this program")
