Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Love sometimes expresses itself in sacrifice. -- Kirk, "Metamorphosis", stardate 3220.3


devel / comp.lang.python / jupyter console vs. ipython in Emacs

SubjectAuthor
* jupyter console vs. ipython in EmacsPieter van Oostrum
`- Re: jupyter console vs. ipython in EmacsPieter van Oostrum

1
jupyter console vs. ipython in Emacs

<m2lf0g8q7o.fsf@vanoostrum.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=20865&group=comp.lang.python#20865

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: pieter-l@vanoostrum.org (Pieter van Oostrum)
Newsgroups: comp.lang.python
Subject: jupyter console vs. ipython in Emacs
Date: Sun, 19 Dec 2021 18:22:19 +0100
Lines: 9
Message-ID: <m2lf0g8q7o.fsf@vanoostrum.org>
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: individual.net eCwCbUm8g7nt64BlqYuTAwb6+zW5RHo43P8BKLPPJ/L5DdO2Hz
Cancel-Lock: sha1:6nSTt/RD6eDAChUwPxfKRE7qsGM= sha1:IkwT6pGgKXvNnfpMfA+ekq3B+Ug=
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (darwin)
 by: Pieter van Oostrum - Sun, 19 Dec 2021 17:22 UTC

My Python development environment is Emacs. I used to use 'jupyter console --simple-prompt' (driven by Emacs comint) to do interactive work, but it has the disadvantage that it doesn't work properly with multiline input, including pastes.

However, I discovered that 'ipython --simple-prompt' in Emacs does work with multiline statements. No idea why jupyter console doesn't.

Is there any advantage in using jupyter console over ipython?
--
Pieter van Oostrum <pieter@vanoostrum.org>
www: http://pieter.vanoostrum.org/
PGP key: [8DAE142BE17999C4]

Re: jupyter console vs. ipython in Emacs

<m2h7b38n99.fsf@vanoostrum.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=20868&group=comp.lang.python#20868

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: pieter-l@vanoostrum.org (Pieter van Oostrum)
Newsgroups: comp.lang.python
Subject: Re: jupyter console vs. ipython in Emacs
Date: Mon, 20 Dec 2021 13:38:26 +0100
Lines: 18
Message-ID: <m2h7b38n99.fsf@vanoostrum.org>
References: <m2lf0g8q7o.fsf@vanoostrum.org>
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: individual.net 9rpF00V167tSrSqUgYZxJQjkgOXY7F2EdEjSyn3+rbM+yjh4qW
Cancel-Lock: sha1:20b5QxdUkzZtldNkXv6mRbW/EPY= sha1:XMkao4oEzFU4x+5h7VYnbZCO49M=
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (darwin)
 by: Pieter van Oostrum - Mon, 20 Dec 2021 12:38 UTC

Pieter van Oostrum <pieter-l@vanoostrum.org> writes:

> My Python development environment is Emacs. I used to use 'jupyter
> console --simple-prompt' (driven by Emacs comint) to do interactive
> work, but it has the disadvantage that it doesn't work properly with
> multiline input, including pastes.
>
> However, I discovered that 'ipython --simple-prompt' in Emacs does work
> with multiline statements. No idea why jupyter console doesn't.
>
> Is there any advantage in using jupyter console over ipython?

Actually, it also happens when run in Terminal, so it is not an Emacs issue.
By the way, my OS is MacOS Catalina. I have no idea how it works on other systems.
--
Pieter van Oostrum <pieter@vanoostrum.org>
www: http://pieter.vanoostrum.org/
PGP key: [8DAE142BE17999C4]


devel / comp.lang.python / jupyter console vs. ipython in Emacs

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor