tutorial series

Object-Oriented Programming in Python 3
  • By Lisa Tagliaferri

  • Object-oriented programming (OOP) focuses on creating reusable patterns of code, in contrast to procedural programming, which focuses on explicit sequenced instructions. When working on complex programs in particular, object-oriented programming lets you reuse code and write code that is more readable, which in turn makes it more maintainable.

    Published on March 17, 2017 · Updated on August 20, 2021

    In this tutorial, we’ll go through creating classes, instantiating objects, initializing attributes with the constructor method, and working with more than one object of the same class.

    Published on March 27, 2017 · Updated on August 20, 2021

    Object-oriented programming allows for variables to be used at the class or instance level. This tutorial will demonstrate the use of both class and instance variables in object-oriented programming in Python.

    Published on April 5, 2017 · Updated on August 20, 2021

    This tutorial will go through some of the major aspects of inheritance in Python, including how parent classes and child classes work, how to override methods and attributes, how to use the super() function, and how to make use of multiple inheritance.

    Published on April 13, 2017 · Updated on August 20, 2021

    Polymorphism allows for flexibility and loose coupling so that code can be extended and easily maintained over time.

    This tutorial will go through applying polymorphism to classes in Python.