Calendar Python
Calendar Python
import calendar
def show():
root=Tk()
root.config(background='grey')
root.title('Calender')
root.geometry('500x660')
year=int(year_field.get())
context=calendar.calendar (year)
cal_year=Label(root, text=context, font="times 10 bold" )
cal_year.grid(row=5, column=1, padx=10)
root.mainloop
if __name__=="__main__":
new=Tk()
new.config(background='grey')
new.title('calendar')
new.geometry('150x150')