You can check classes and methods in Python by using the built-in introspection 
tools. dir(obj) shows the available attributes and methods, help(obj) shows the 
documentation for an object, and help(obj.method) shows details for one method. 
If you want to see the parameters of a callable, inspect.signature() is also 
very useful. For example, dir(list), help(list.append), and 
inspect.signature(list.append) are simple ways to inspect a class and one of 
its methods. The official Python documentation for dir() and help() is here: 
https://docs.python.org/3/library/functions.html
-- 
https://mail.python.org/mailman3//lists/python-list.python.org

Reply via email to