Results 1 to 2 of 2

Thread: tkinter trying to get a window up

  1. #1
    Join Date
    Jan 2012
    Beans
    160

    tkinter trying to get a window up

    hi guys here is the code i am working with

    Code:
    from Tkinter import *
    
    
    root = Tk() root.title("Note Taker")
    
    
    root.mainloop()
    and im getting a syntax error from the 2nd line. It should just pop up a basic window, right?

  2. #2
    Join Date
    Jun 2010
    Location
    Loznica Serbia
    Beans
    126
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: tkinter trying to get a window up

    Why are you putting "root = Tk()" and "root.title(`Note taker`)" on the same line?
    Put them on separate lines.
    Windows is not user friendly,it's just user familiar

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •