Python GUI - 2.7 to 3.5
Question: 
    from tkinter import *
    
    #Create the window
    root = Tk()
    
    #Modify root window
    root.title("Simple GUI")
    root.geometry("200x50")
    
    app = frame(root)
    label = Label(app, text = "This is a label")
    label.grid()
    
    
    #kick of the event loop
    root.mainloop()
    

I am following a tutorial of YouTube to learn about Python tkinter GUI. But
when I run the above code it comes with an error.

    
    
    Traceback (most recent call last):
      File "C:/Users/Nathan/Desktop/Python/Python GUI/Simple GUI.py", line 14, in <module>
        app = frame(root)
    NameError: name 'frame' is not defined
    

I know it is something to do with `frame`, I tried `Frame` and it doesn't
work. Can you please help me make it work, Thanks!

I am currently using Python 3.5 and the tutorial is in 2.7


Answer: You did get the fact that the 2.x module is named Tkinter, but in 3.x it is
named tkinter. However, the Frame class did not change the first letter to
lower case. It is still Frame.

    
    
    app = Frame(root)
    

One way to overcome the import difference is in [ImportError when importing
Tkinter in Python](http://stackoverflow.com/questions/7498658/importerror-
when-importing-tkinter-in-python)

