avatarSamer Sallam

Summary

This article provides an overview of the basics of Object-Oriented Programming (OOP) in Python, aimed at helping readers understand OOP concepts and start using them confidently.

Abstract

The article is part of a complete course on OOP in Python, offering learning objectives and a brief introduction to the OOP Basics section. It addresses both beginners and those previously overwhelmed by OOP jargon, ensuring a solid foundation in the subject. The section promises to clarify the importance of OOP, the concepts of classes and objects, and the first two pillars of OOP: abstraction and encapsulation. By the end, readers should be able to create their own classes and objects, understand attributes and methods, and be prepared for more advanced OOP topics.

Opinions

  • The author acknowledges the complexity of OOP terminology and aims to demystify it for learners.
  • The course is designed to build confidence in using OOP, emphasizing practical application through class and object creation.
  • The author believes that OOP is a crucial part of programming and encourages its adoption in readers' programming practices.
  • Real-world examples are to be used to illustrate abstraction and encapsulation, suggesting a hands-on teaching approach.
  • The article encourages direct engagement with the content by inviting readers to subscribe and follow the author for updates and support.
  • The author highlights the value of Medium membership, suggesting it as a means to access unlimited stories and support writers, including themselves.

OOP Basics Overview: Python OOP Complete Course — Part 1

By the author

Before we start let me tell you that:

  • This article is a part of The Complete Course in Object Oriented Programming in Python which you can find it here.
  • This article is also available as a YouTube video here.

Introduction

In this article, I would like to highlight the learning objectives of this section, also I will give you a brief introduction about what I am going to cover in the OOP Basics section.

But before I start, I need to ask you: Have you ever tried to learn OOP and you were overwhelmed by the vast amount of JARGON like class, object, abstraction, method, attribute, Etc.? So whether the answer is:

  • Yes or
  • This is the first time you are trying to learn OOP.

Let me tell you that this section will give you the essential foundation that you need to enter OOP world with high confidence.

Photo by Nick Fewings on Unsplash

By the end of OOP Basics section, you will be able to:

  • Understand why OOP is very important and why you need to start using it in your programs.
  • Understand what a class and an object are and what the difference between classes and objects is.
  • Learn about the different types of attributes and methods and how you can extend your classes with these attributes and methods.
  • Understand the first two pillars of OOP, namely abstraction and encapsulation.
  • The most important goal is to be able to create your classes and create objects from those classes.

In order to achieve all of these objectives, OOP Basics section will cover the following topics:

Photo by AbsolutVision on Unsplash
  • Introduction to OOP: in which you will understand what we have before OOP and why it becomes an essential part of your daily life as a programmer.
  • Introduction to Classes and Objects: in which I will teach you how to define classes and objects.
  • Attributes and Methods: in which you will learn how to enhance your classes by different types of attributes and methods like instance attributes and instance method class attributes and class method, static methods.
  • Property in Python OOP.

Once we are armed by all of this knowledge, it’s time to learn about:

  • Abstraction and Encapsulation: in which you will learn about the first two pillars in Python OOP with real examples.
  • Copy in OOP: which is an important concept in Python OOP.

P.S.: A million thanks for your time reading my story. Before you leave let me mention quickly two points:

  • First, to get my posts in your inbox directly, would you please subscribe here, and you can follow me here.
  • Second, writers made thousands of $$ on Medium. To get unlimited access to Medium stories and start earning, sign up now for Medium membership which only costs $5 per month. By signing up with this link, you can directly support me at no extra cost to you.

To get back to the previous article, you can use the following link:

The Complete Course in Object Oriented Programming in Python

To move on to the next article, you can use the following link:

Part 2:Introduction to OOP

Object Oriented
Python
Programming
Basics
Oop Concepts
Recommended from ReadMedium
avatarAbhay Kumar
OOPs in Python

An easy guide

10 min read