newbie trouble with raw_input and idle

Sam Schulenburg sams at
Fri Jun 4 02:09:15 CEST 1999

In article <37581eb4.2704370 at>,
  druid at wrote:
> If I enter the following code (or any other using raw_input for that
> matter) into idle's shell it works, when trying to run it from a file
> (new window, edit it, save it then run it, nada)
> def f():
>     x=raw_input("ladida:")
>     print x
> f()
> systems involved are a win98 and an nt4 machines, tcl version 8.0.5,
> Python 1.5.2. The same code works under the plain Python interactive
> shell, and pythonwin, but not idle. Any ideas?
> --------------------------
> Bull Run ACD Rescue
> Several low mileage cow dogs available, visit the "barking lot" at

I just tried your sample under windows NT with IDLE 0.4 and it worked OK
Sam Schulenburg

Sent via
Share what you know. Learn what you don't.

More information about the Python-list mailing list