Skip to content

Object Classes in Python

In the mid 1960s the term Object-Oriented Programming” (OOP) was coined by Alan Kay, one of the pioneers in computer science. Alan's idea was to group data structures and the functions that manipulate that data together in a unit called an object class. Although many Python programmers can be productive just writing simple functions, because there are many Python libraries that use objects, we think you should be familiar with these terms, even if you decide you don't want to deal with the complexities of building your own Python object classes.

Python also has features that allow you dynamically probe the structure of object classes, even if you can't find the original source code used to create the object classes. If you can't recall how to do something with an object class these tools can provide you a quick reminder.

The dir() function