[Tutor] (no subject)

deng wei deng@ms.shlftdc.net.cn
Wed, 6 Sep 2000 19:0:46 +0800


Hi:
  Sorry for the pre-reply.
  Again,I found the same problem in the IDLE under Windows98.:)



Message: 9
Date: Mon, 4 Sep 2000 02:57:57 -0700 (PDT)
From: Daniel Yoo <dyoo@hkn.EECS.Berkeley.EDU>
To: tutor@python.org
Subject: [Tutor] input() on IDLE?

I've been trying to figure out how to use raw_input()/input() in an IDLE
session.  For me, the *Output* window seems to not respond to input, and
someone else has reported getting EOF from it.  I'm using IDLE 0.5 under a
Linux system.

Here's the sample program:

###
print "Hello world!"
x  = input()
print "Here's what x has:", x
###

And a partial output:

###
Hello world!
42
# but nothing happens.
###


Does anyone know if these input functions work well in IDLE?  Thanks for
any help on this.



                  

            DengWei
            deng@ms.shlftdc.net.cn