creating window in tkinter 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: how to create tkinter window
import tkinter
master = tkinter.Tk()
master.mainloop()