Python: Introspection function


/ Published in: Python
Save to your folder(s)

The info function is designed to be used by you, the programmer, while working in the Python IDE. It takes any object that has functions or methods (like a module, which has functions, or a list, which has methods) and prints out the functions and their doc strings.

URL: diveintopython-5.4/html/power_of_introspection/index.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.