Get a list of functions in a file

member Basu basu at archlinux.us
Mon Dec 29 02:26:52 EST 2008


I'm putting some utility functions in a file and then building a simple
shell interface to them. Is their some way I can automatically get a list of
all the functions in the file? I could wrap them in a class and then use
attributes, but I'd rather leave them as simple functions.
Thanks,
Basu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20081229/74e7c3ce/attachment-0001.html>


More information about the Python-list mailing list