Introduction to Python

72 / 79
   

Python Classes and Objects

Overview

As part of this session, we will learn the following:

  1. What is a Class ?
  2. What are objects ?
  3. What are methods and attributes ?
  4. Simple example of a class in Python
  5. dir() and type() functions
  6. Using the dir() function on strings
  7. Object Lifecycle
  8. What are constructors in a Class ?
  9. What is Inheritance ?
  10. How do we inherit a class in Python ?

Recording of Session


Slides

Code Repository for the course on GitHub