Object as a concept is omnipresent in Python. Assignments remain pointers to the ID of the objects as long as the object is not modified. Clarity brought out through examples as done here goes a long way in grasping Python’s data structures. Class, its initialization, and its functions as attributes are all explained through examples. Overloading transforms many of the built-in functions and operations into generic ones. Its added dimension is brought out through examples. Instantiations in multiply linked class definitions are explained. Super as a construct provides a structured and logical basis for instantiation with multiple inheritance set ups. Examples considered here enhance understanding of the nuances. Direct command line execution of Python script with its associated flexibility is also dealt with here.
KeywordsClass Definition Module School Class Teacher Material Management Child Class
- van Rossum G, Drake FL Jr (2014) The Python library reference. Python Software FoundationGoogle Scholar