from tkinter import * print(TkVersion) root = Tk() label = Label(root, text='test') label.pack() label.pack_info() root.mainloop()