XEmacs output from Python

B

Beliavsky

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
x
What is your name? Hello, x

Is there a workaround? Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top