How to see the code definiton in the shell ?

Mohan Parthasarathy suruti94 at gmail.com
Wed May 13 12:40:13 EDT 2009


Hi,

I am new to Python. I tried searching this but could not find an answer. In
the interactive shell, I write a new function and I want to be able to see
all the code that I wrote at a later time. Just typing the function name
only shows

>>> allmethods
<function allmethods at 0x822b0>

How do I see the actual code ?

thanks
mohan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090513/76d15090/attachment.html>


More information about the Python-list mailing list