Recovering method names at runtime

Fred L. Drake, Jr. fdrake at acm.org
Fri Oct 29 11:24:58 EDT 1999


Rob Hague writes:
 > Is there any way to get a list of the method names of a class at runtime
 > (like, for example, the Java reflection API)? I'm intending to write a
 > class browser.

  There's a class browser in IDLE; you might want to take a look at
that.  You should probably use the CVS version since IDLE has changed
a lot since the 1.5.2 release.  For more information on CVS, see:

	http://www.python.org/download/cvs.html


  -Fred

--
Fred L. Drake, Jr.	     <fdrake at acm.org>
Corporation for National Research Initiatives




More information about the Python-list mailing list