From: Bruno Barbier <brubar.cs@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>, help-gnu-emacs@gnu.org
Subject: Re: How do I get a Python REPL in Eshell on M$ Windows?
Date: Sun, 05 Jun 2022 18:59:50 +0200 [thread overview]
Message-ID: <629ce0cf.1c69fb81.8059a.cd39@mx.google.com> (raw)
In-Reply-To: <831qw3bsj8.fsf@gnu.org>
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
prev parent reply other threads:[~2022-06-05 16:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-04 23:08 How do I get a Python REPL in Eshell on M$ Windows? Eduardo Ochs
2022-06-05 5:14 ` Eli Zaretskii
2022-06-05 16:59 ` Bruno Barbier [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=629ce0cf.1c69fb81.8059a.cd39@mx.google.com \
--to=brubar.cs@gmail.com \
--cc=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).