Created
July 19, 2011 08:19
-
-
Save deanwilson/1091702 to your computer and use it in GitHub Desktop.
Python method lister
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
methodList = [method for method in dir(conduit) if callable(getattr(conduit, method))] | |
for method in methodList: | |
print method | |
for method in methodList: | |
print "\n".join([ "%s %s", method, str(getattr(conduit, method).__doc__) ]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment