Support unavailable
Please try again later

Python objects essentials

The training will cover all the essentials of Python objects, from the most basic concepts to some advanced features, with real world examples and some exercises. The training contents are:

  • Type, id and value
  • Mutable vs. immutable types
  • New-style vs. old-style classes
  • Objects data model and customisation
  • Inheritance: super, getattr and MRO
  • Instantiation: __new__ and __init__
  • Metaclasses

I already gave this training internally at my company. All the content is available here: objects repository.

To complete the exercises proposed you will only need Python 2.7 with nose package installed and your favourite Python editor.

Although it is targeted for beginners, most probably intermediate Pythonists may learn something new too.

Please, notice that there are no slides, only Python code. In the README.md or the objects repository there is a detailed usage explanation

in on Tuesday 2 July at 09:00 See schedule

Do you have some questions on this talk? Leave a comment to the speaker!

New comment


Language
EN
Duration
240 minutes (inc Q&A)

Tagged as

super principles datamodel
Our Sponsors
Spotify
Python Experts
SSL Matrix
Wanna sponsor?