import calendar as cd
import Tkinter as tk
# Yıl ve ay
year = 2007
month = 2 # ocak=1
str1 = cd.month(year, month)
root = tk.Tk()
root.title("Monthly Calendar")
label1 = tk.Label(root, text=str1, font=('courier', 14, 'bold'), bg='yellow')
label1.pack(padx=3, pady=5)
root.mainloop()