Advertisement

Classes and Objects

  • T. R. PadmanabhanEmail author
Chapter

Abstract

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.

Keywords

Class Definition Module School Class Teacher Material Management Child Class 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Reference

  1. van Rossum G, Drake FL Jr (2014) The Python library reference. Python Software FoundationGoogle Scholar

Copyright information

© Springer Nature Singapore Pte Ltd. 2016

Authors and Affiliations

  1. 1.Amrita UniversityCoimbatoreIndia

Personalised recommendations