On Sun, Dec 28, 2008 at 8:49 PM, wormwood_3 <wormwoo...@yahoo.com> wrote: > Hello all, > > This might be trivially easy, but I was having a hard time searching on it > since all the component terms are overloaded:-) I am wondering if there is a > way to print out the code of a defined function.
If the source code is available try inspect.getsource(). Kent _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor