S
Shalabh Chaturvedi
Two articles on Python new-style objects and mechanisms:
1. Python Types and Objects
(Previously called The New Python: Part 1 - Types and Objects. It has been
restructured and some unnecessary matter deleted.)
Explains the different kinds of objects in Python, starting from <type
'object'>, <type 'type'> and built-in data types to user defined types and
instances, and how they are related.
http://www.cafepy.com/articles/python_types_and_objects/README.html
2. Python Attributes and Methods
Explains attribute access mechanisms in Python. These include working of
descriptors, properties, and method resolution order in Python.
http://www.cafepy.com/articles/python_attributes_and_methods/README.html
Feedback greaty appreciated! You can write to me at (e-mail address removed), or
use the online form.
Cheers,
Shalabh Chaturvedi
1. Python Types and Objects
(Previously called The New Python: Part 1 - Types and Objects. It has been
restructured and some unnecessary matter deleted.)
Explains the different kinds of objects in Python, starting from <type
'object'>, <type 'type'> and built-in data types to user defined types and
instances, and how they are related.
http://www.cafepy.com/articles/python_types_and_objects/README.html
2. Python Attributes and Methods
Explains attribute access mechanisms in Python. These include working of
descriptors, properties, and method resolution order in Python.
http://www.cafepy.com/articles/python_attributes_and_methods/README.html
Feedback greaty appreciated! You can write to me at (e-mail address removed), or
use the online form.
Cheers,
Shalabh Chaturvedi