I want to get every methods of an object. I know about the function dir
but it returns all(method, attr, meta_data).
I tried this:
[x for x in dir(obj) if "_" not in x]
but it does not work correctly.
How can I do it?
I want to get every methods of an object. I know about the function dir
but it returns all(method, attr, meta_data).
I tried this:
[x for x in dir(obj) if "_" not in x]
but it does not work correctly.
How can I do it?