Subscribe Us

Header Ads

How To Create GUI Calendar using Python , Python Project

 Hey guys in this video i am gonna tell you how you can create gui calendar using python ...




Source Code..


#required module 

import calendar

#required module -pip install tkintertable

from tkinter import *

#Getting calendar of 2020

cal = calendar.calendar(2020)

#initializing window 

root = Tk()


#setting window title

root.title("2020 calendar")


#Adding label to window which contain calendar

c = Label(root, text=cal,font='times 12 bold',bg='red')

c.pack()

#mainloop

root.mainloop()

Post a Comment

0 Comments