Self descibing scripts

Grant Edwards grante at visi.com
Mon Apr 2 10:46:02 EDT 2001


In article <3ac88d6e$0$15028$ed9e5944 at reading.news.pipex.net>, Neil Benn wrote:

>            Oooo, thanks Fredrik, that's close - the only problem is that it
>doesn't return parameters required for the methods.  D'ya know if it is
>possible to do that?

Yes.  There's a handy debugging/introspection module that does
that.

The link I have is:

     http://starship.python.net/~lemburg/hack.py

I believe the func_sig() function is the one you want.

-- 
Grant Edwards                   grante             Yow!  I'm having a MID-WEEK
                                  at               CRISIS!
                               visi.com            



More information about the Python-list mailing list