Entry widget doesn't work
Question: I'm fairly new to python and I need help with this problem. How do I get a
user to input something on canvas? I've tried taking out the `x=` and `y=` but
it doesn't work... after I run the module it says "Non-Keyword arg after
Keyword arg". Please help.

    
    
    from tkinter import*   
    def main():     
       global window     
       global tkinter     
       global canvas     
       window = Tk()     
       canvas = Canvas(window, width=400, height=300, bg='blue')    
       e1 = Entry(canvas)     
       canvas.create_window(window=e1, x=100,y=100)      
       e1.pack()      
       canvas.pack()     
       window.mainloop() 
    main()
    


Answer: The position of the created window has to be passed as the first two
arguments, not as keyword arguments.

    
    
    canvas.create_window(100, 100, window=e1)
    

Also, the `Entry` widget doesn't need to be packed when used in this manner,
so the `e1.pack()` line should be removed entirely.

