python-course.eu

Intro to Object Oriented Programming

By Bernd Klein. Last modified: 01 Feb 2022.

This section of our Python tutorial deals with object-oriented programming, usually abbreviated as OOP. It is difficult to summarize the essence of object orientation in a few sentences:

Object Oriented Programming (OOP) is a programming paradigm based on the concept of "objects" that can contain data and code. The data is often implemented as attributes. Functions implement the associated code for the data and are usually referred to in object oriented jargon as methods. In OOP, computer programs are designed by being made up of objects that interact with each other via the methods.

It was difficult for us to decide whether to add object-oriented programming to the beginner or the advanced level sections of our Python tutorial.

cog wheels

There are some who think it's best to combine learning Python with OOP from the start. This is vital in programming languages ​​like Java. Python can be used without programming in an OOP style. Many beginners to Python prefer this, and if they only want to write small to medium-sized applications, this is good enough. However, for larger applications and projects, it is recommended to look into OOP. The following chapters describe almost all aspects of Python OOP.

We decided to introduce the basics of Python without going directly into object-oriented programming. Therefore, these chapters assume that you are familiar with the basics of Python.

Live Python training

instructor-led training course

Enjoying this page? We offer live Python training courses covering the content of this site.

Upcoming online Courses

Python Course for Beginners

31 Mar to 04 Apr 2025
07 Apr to 11 Apr 2025
19 May to 23 May 2025
02 Jun to 06 Jun 2025
30 Jun to 04 Jul 2025
11 Aug to 15 Aug 2025

Python Intensive Course

10 Mar to 14 Mar 2025
07 Apr to 11 Apr 2025
23 Jun to 27 Jun 2025
28 Jul to 01 Aug 2025

Data Analysis with Python

12 Mar to 14 Mar 2025
09 Apr to 11 Apr 2025
04 Jun to 06 Jun 2025
30 Jul to 01 Aug 2025

Machine Learning from Data Preparation to Deep Learning

10 Mar to 14 Mar 2025
07 Apr to 11 Apr 2025
02 Jun to 06 Jun 2025
28 Jul to 01 Aug 2025

See our Python training courses

See our Machine Learning with Python training courses