[Python-ideas] Should iPython Notebook replace Idle

Wes Turner wes.turner at gmail.com
Mon Jul 6 06:23:24 CEST 2015

On Jul 5, 2015 9:29 PM, "Nick Coghlan" <ncoghlan at gmail.com> wrote:
> On 6 July 2015 at 10:29, Terry Reedy <tjreedy at udel.edu> wrote:
> > Shell and editor aside, it has occurred to be that it would be nice to
> > a tutorial-notebook-interactive-doc system of some sort that runs on
> > and comes with the stdlib.  Thinking about it more, I believe that
> > basic that alternated between canned text, pre-written code, and a live
> > prompt, could be added to the Idle Shell.
> It's worth looking at some of the features of PyCharm Educational
> Edition in that regard.

PyCharm is great (and now has IPython Notebook integration)

Spyder is great, and FOSS, has an IPython drawer (and now has
pandas.DataFrame display support).

Possibly more relevant for education and learning are the "test until
green" features of a given IDE (or vim `:make`)

> Tangentially related, something I would *love* to see at some point is
> IPython's "obj?" and "obj??" syntax extensions elevated to formal
> Python Enhancement Proposals.
> Concept sketch:
>     obj? calls sys.__dochook__(obj)
>     obj?? calls sys.__helphook__(obj)
> Default implementations:
>     def __dochook__(obj):
>         import pydoc
>         print(pydoc.getdoc(obj))
>     def __helphook__(obj):
>         help(obj)

* [ ] ? and ?? support would be great (though you can also just define
functions in e.g .pythonrc)
* Python readline tab completion (without IDLE or IPython or bpython):
http://pymotw.com/2/rlcompleter/ ... I'm sure there's a reason why this is
not the default

> Cheers,
> Nick.
> --
> Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150705/209c6ff1/attachment.html>

More information about the Python-ideas mailing list