Created
July 16, 2017 21:07
-
-
Save Holovin/35c40ebf0f7000e599911786980f061a to your computer and use it in GitHub Desktop.
Get all methods of object
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
print([method for method in dir(OBJECT) if callable(getattr(OBJECT, method))]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
via https://stackoverflow.com/questions/34439/finding-what-methods-an-object-has