from Tkinter import *,win = Tk() "from Tkinter import *"

Discussion in 'Python' started by Pierre Dagenais, Aug 3, 2008.

  1. from Tkinter import *
    win = Tk()


    If I type those two lines at the command prompt (in WindowsXP) I get a
    new window on my screen. Yet if I copy those lines in a file called
    test.py and then run "python test.py" at the command prompt I am
    returned to the command prompt and nothing shows up on the screen. Is
    this normal behavior or is it a bug?

    Thanks to all who responded to my previous post, it was quite helpfull.
     
    Pierre Dagenais, Aug 3, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. ARaman
    Replies:
    1
    Views:
    394
    Mike Wahler
    Oct 23, 2003
  2. Chris Lyon
    Replies:
    0
    Views:
    331
    Chris Lyon
    Oct 7, 2003
  3. Joel Hedlund
    Replies:
    2
    Views:
    511
    Joel Hedlund
    Nov 11, 2006
  4. Joel Hedlund
    Replies:
    0
    Views:
    307
    Joel Hedlund
    Nov 11, 2006
  5. Krist
    Replies:
    6
    Views:
    755
    Arne Vajhøj
    May 7, 2010
Loading...

Share This Page