Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

names of all methods in class introspect pythonm

import gc
for obj in gc.get_objects():
    if isinstance(obj, some_class):
        dome_something(obj)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #names #methods #class #introspect #pythonm
ADD COMMENT
Topic
Name
1+3 =