no output of pyhton in emacs shell buffer

Benjamin Riefenstahl Benjamin.Riefenstahl at
Mon Dec 22 13:44:33 CET 2003

Hi Leo,

"leo" <halloleo at> writes:
> in an emacs shell buffer i get no output of python, even no
> ">>>"-prompt.
> however, behind the scene python still works, i can type a command
> blindly, and _after quitting python_ the associated output is
> written to the shell buffer.
> [...]
> i work with ntemacs, the and the cygwin python 2.3.2

Native Windows doesn't have pseudo-ttys.  The python interpreter sees
that it is running in a pipe, and thinks that this is non-interactive
environment, instead of an interactive terminal.  You could try to
force the python interpreter into interactive mode in some other way
(command option, configuration item).

Also, Cygwin Emacs would probably fix that problem, because Cygwin can
simulate pseudo-ttys between Cygwin applications. 


More information about the Python-list mailing list