alex23 wrote:
On Dec 2, 5:12 am, Alan G Isaac <[EMAIL PROTECTED]> wrote:
One obvious cost is that working at the
interpreter prompt is now slightly less
convenient.

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 [1]: def prnt(x): print x
   ...:

In [2]: prnt "test"
------> prnt("test")
test

In [3]: prnt 1+1
------> prnt(1+1)
2

And not in either Python or IDLE:

>>> 'test'
'test'
>>> 1+1
2

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to