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. Advertisements

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:
    490
    Mike Wahler
    Oct 23, 2003
  2. Chris Lyon
    Replies:
    0
    Views:
    464
    Chris Lyon
    Oct 7, 2003
  3. Ringwraith
    Replies:
    4
    Views:
    1,066
    Ringwraith
    Jan 27, 2004
  4. Joel Hedlund
    Replies:
    2
    Views:
    747
    Joel Hedlund
    Nov 11, 2006
  5. Joel Hedlund
    Replies:
    0
    Views:
    436
    Joel Hedlund
    Nov 11, 2006
  6. Krist
    Replies:
    6
    Views:
    982
    Arne Vajhøj
    May 7, 2010
  7. Peter Singer

    Web Services on Win 2003 to SQL Server on Win 2000

    Peter Singer, Sep 7, 2004, in forum: ASP .Net Web Services
    Replies:
    10
    Views:
    532
    Yan-Hong Huang[MSFT]
    Sep 15, 2004
  8. Raj
    Replies:
    2
    Views:
    319
    Aaron Bertrand [MVP]
    Apr 14, 2004
Loading...