making GUIs in python code example
Example: tkinter tutorial
# Python 3.x
import tkinter
top = tkinter.Tk()
# Code to add widgets will go here...
top.mainloop()
# I recommend creating each tkinter window as a child class to a frame.
# This keeps all methods related to the window encapsulated, and makes
# your code alot more understandable and readable :)