help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I get a Python REPL in Eshell on M$ Windows?


From: Bruno Barbier
Subject: Re: How do I get a Python REPL in Eshell on M$ Windows?
Date: Sun, 05 Jun 2022 18:59:50 +0200

Hi Eduardo,

Eli Zaretskii <eliz@gnu.org> writes:
>
> I believe the buffering of Python interpreter's stdout can also be
> controlled.  Search the Internet for "how to make python standard
> output unbuffered", and you will find the answers.

Yes, outputs are buffered by default, plus, python tries to detect if it's an
interactive shell.

So, with Emacs 'shell', I'm using:

   python -i -u

   '-i'  to force an interactive python
   
   '-u'  to force unbuffered outputs


Bruno



reply via email to

[Prev in Thread] Current Thread [Next in Thread]