end of print = lower productivity ?
tjreedy at udel.edu
Tue Dec 2 02:42:39 CET 2008
> On Dec 2, 5:12 am, Alan G Isaac <ais... at american.edu> wrote:
>> One obvious cost is that working at the
>> interpreter prompt is now slightly less
> Not if you use IPython:
> IPython 0.8.1 -- An enhanced Interactive Python.
> ? -> Introduction to IPython's features.
> %magic -> Information about IPython's 'magic' % functions.
> help -> Python's own help system.
> object? -> Details about 'object'. ?object also works, ?? prints more.
> In : def prnt(x): print x
> In : prnt "test"
> ------> prnt("test")
> In : prnt 1+1
> ------> prnt(1+1)
And not in either Python or IDLE:
More information about the Python-list