On Wed, Aug 22, 2018 at 7:47 PM Mike Miller
wrote:
> >> On Tue, Aug 21, 2018 at 3:07 PM, Jonathan Fine
> wrote:
> Maybe this is something Python's REPL should do?
> iPython brings in a lot of functionality, perhaps too much.
> Would prefer something more focused like bpython or ptpython.
>
On 2018-08-22 10:08, Antoine Pitrou wrote:
On Wed, 22 Aug 2018 09:38:57 -0700
Chris Barker via Python-ideas
On Tue, Aug 21, 2018 at 3:07 PM, Jonathan Fine wrote:
Maybe this is something Python's REPL should do?
To me it sounds fine to improve the REPL. Especially, being able to
paste ex
On Wed, Aug 22, 2018 at 06:01:05PM -0400, Wes Turner wrote:
> %edit -p
>
> > Bring up an editor and execute the resulting code.
https://code.activestate.com/recipes/578926-call-out-to-an-external-editor/
--
Steve
___
Python-ideas mailing list
Python-
%doctest_mode works like the Python REPL (with '>>>' prompts and no pretty
printing)
https://ipython.readthedocs.io/en/stable/interactive/magics.html#magic-doctest_mode
On Wednesday, August 22, 2018, Wes Turner wrote:
> %edit -p
>
> > Bring up an editor and execute the resulting code.
>
> > -p:
%edit -p
> Bring up an editor and execute the resulting code.
> -p: this will call the editor with the same data as the previous time it
was used, regardless of how long ago (in your current session) it was.
https://ipython.readthedocs.io/en/stable/interactive/magics.html#magic-edit
Something l
On Wed, 22 Aug 2018 09:38:57 -0700
Chris Barker via Python-ideas
wrote:
> On Tue, Aug 21, 2018 at 3:07 PM, Jonathan Fine wrote:
>
> > > Maybe this is something Python's REPL should do?
> >
> > Good idea.
> >
>
> I can't find (with very little effort) any documentation of this, but I
> have