Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions 18 python program to make calendar
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# importing tkinter
from tkinter import *
# importing calendar module
import calendar
# initializing tkinter
root = Tk()
# setting title of our Gui
root.title("My Own Gui Calendar")
# year for which we want the calendar to be shown on our Gui
year = 2020
# storing 2020 year calendar data inside myCal
myCal = calendar.calendar(year)
# showing calendar data using label widget
cal_year = Label(root, text=myCal, font="Consolas 10 bold")
# packing the Label widget
cal_year.pack()
# running the program in ready state
root.mainloop()
Morty Proxy This is a proxified and sanitized view of the page, visit original site.