how to make a tkinter gui code example
Example 1: make a window tkinter
#!/usr/bin/python
import Tkinter
top = Tkinter.Tk()
# Code to add widgets will go here...
top.mainloop()
Example 2: python gui
import tkinter as tk
#Importing the main module
window = tk.Tk()
window.mainloop()