Grokking Advanced Python
Ask Author
Back to course home

0% completed

Python - Reflection
Table of Contents

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

Reflection is a powerful feature in programming that allows a program to manipulate the properties and capabilities of objects at runtime. In Python, reflection enables the inspection of classes, modules, and functions while the program is running, allowing you to examine and modify their behavior dynamically.

Python provides several built-in functions that support reflective capabilities, such as getattr(), setattr(), hasattr(), and delattr(). These functions allow for dynamic manipulation of attributes, and the type() and isinstance() functions help in introspecting types.

.....

.....

.....

Like the course? Get enrolled and start learning!

Table of Contents

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible