Showing pages tagged "OOP"

Undo keyword filter
  • Oct. 24, 2022

    Leverage the power of Python’s data model in your classes

    Special methods do not only power Python’s built-in objects. They can be used to give custom classes the same look and feel. In this post, I illustrate the use of special methods by defining a simple class of polynomials.

    Continue reading