XEmacs output from Python

Beliavsky beliavsky at aol.com
Tue Feb 1 22:30:45 CET 2011

The script

name = raw_input("What is your name? ")
print "Hello, ",name

runs fine from the Windows prompt (cmd.exe), but when I run it in a
shell buffer under XEmacs, I only see the text "What is your name? "
AFTER I enter some text, so a run looks like this:

H:\python>python xinput.py
What is your name? Hello,  x

Is there a workaround? Thanks.

More information about the Python-list mailing list