calling python in emacs from a shell buffer doesn't make input/output.

Keel Thaan kmt at MailCentro.zzn.com
Tue Mar 9 17:01:51 EST 2004


leo wrote:

> however when i call python interactivly in this shell buffer it doesn't
> accept any input and therefore doesn't do any output at all -- until i kill
> the shell with C-c C-d: then python processes all the input characters i
> have
> typed, writes its output to the buffer and quits. after that the shell quits
> obviously as well.

Try "python -i" (without the quotes, obviously); the -i switch should 
force the Python interpreter into interactive mode even if it doesn't 
think it's connected to a terminal.




More information about the Python-list mailing list