Python Introspection: Difference between revisions
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
=Overview= | =Overview= | ||
Introspection is Python's equivalent for Java reflection. It is the ability to determine the type of an object at runtime and to dynamically examine Python objects. | Introspection is Python's equivalent for Java reflection. It is the ability to determine the type of an object at runtime and to dynamically examine Python objects. | ||
=<tt>getattr()</tt>= | |||
=Module Introspection= | =Module Introspection= | ||
Also see: {{Internal|Python_Language_Modularization#Module_Introspection|Python Language Modularization}} | Also see: {{Internal|Python_Language_Modularization#Module_Introspection|Python Language Modularization}} |
Revision as of 18:28, 8 July 2022
Internal
TODO
https://www.geeksforgeeks.org/code-introspection-in-python/
Overview
Introspection is Python's equivalent for Java reflection. It is the ability to determine the type of an object at runtime and to dynamically examine Python objects.
getattr()
Module Introspection
Also see: