how to create a window without 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 window in tkinter
import tkinter as tk
window = tk.Tk() #Creates a window
window.title("Trial") # Sets a title for the window
window.geometry(520,850)# Size of window optional
window.minisize(520,850) # Minimum size of window
window.mainloop()# Sets visiblility to true