def myfunction():
    root2 = Tkinter.Toplevel(root)
ttkcal = Calendar(root2, firstweekday=calendar.SUNDAY)
ttkcal.pack(expand=1, fill='both')
root2.update()
root2.minsize(root2.winfo_reqwidth(), root2.winfo_reqheight())
Python tkinter with ttk calendar