Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Python attribute access uses straightforward syntax, shared with other imperative languages like Java and C#. Through properties, you can control what happens when individual attributes are fetched or set; but, with Python, you can provide access to arbitrary attributes through the __getattr__ method.
The flip side of this is being able to dynamically access attributes when you have their names stored as strings. Python supports this through a set of built-in functions.