Newbie question - input doesn't work in Emacs python-mode

John Ochiltree johnochiltree at
Sun Feb 16 09:38:41 CET 2003

K. Fleming wrote:

> I just started fooling around with Python and so far have enjoyed it
> immensely.  However, I came across a problem when using Emacss
> python-mode.  The following line
> answer = input("Will this work?")
> will not work.  It generates the error
> EOFError: EOF when reading a line
> It works fine when I try to run it in IDLE however.  Can anyone help
> me?  Thanks to all who respond.
Using xemacs and python 2.3 I haven't been able to break it. As it works 
fine, what relevant versions are you using?


More information about the Python-list mailing list