[python-uk] 2nd London Python Dojo - 18:30 15 October 2009 at Fry-IT
Ed Singleton
singletoned at gmail.com
Fri Oct 9 11:32:20 CEST 2009
On 7 Oct 2009, at 09:27, Nicholas Tollervey wrote:
> Just out of interest, what helpful features over and above the
> regular python shell does ipython/bpython provide, and how will this
> enhance the Dojo..?
One particularly useful feature is doctest-mode. Which makes the
shell look just like a regular python shell, but allows you to paste
in doctest style code. Very useful for copying and pasting code from
the web to try it out.
# Eg. Pasting in exactly this, will work
>>> x = 1
>>> print x
# It strips out all the leading >>>
Ed
More information about the python-uk
mailing list