Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
OOP in Python
Rating: 4.2 out of 5(166 ratings)
7,346 students

OOP in Python

Learn Python with OOP
Last updated 5/2021
English
English [Auto],

What you'll learn

  • Object Oriented Programming concepts in Python Programming language

Course content

1 section5 lectures1h 11m total length
  • Creating Classes and Objects14:08

    Learn to define Python classes, add attributes and methods, and document them with a docstring. Create objects with className(), access attributes via dot notation, and use self for instance functions.

  • Constructors and Class Methods12:51

    Learn how to write Python constructors with __init__ and define class methods, using self for instance methods, and how to instantiate objects and call methods via the object or class.

  • Inheritance in Python19:31

    Learn how inheritance in Python enables code reusability through parent and child classes. Explore single-level, multilevel, multiple, hierarchical, and hybrid inheritance, and master the base and derived class syntax.

  • Polymorphism: Method Overloading & Overriding10:35

    Explore polymorphism in Python, including method overloading and overriding, and see how Python handles same-name functions and parent-child method behavior, noting that Python does not support method overloading.

  • Encapsulation, Abstraction and Data Hiding14:03

    Explore encapsulation, abstraction, and data hiding in Python using abstract classes and the abc module, with single and double underscores for access control.

Requirements

  • Basic Python Programming knowledge

Description

Python is powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Python code is simple, short, readable, intuitive, and powerful, and thus it is effective for introducing computing and problem solving to beginners. It's elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas on most platforms.

Python is an object oriented programming language. Unlike procedure oriented programming, where the main emphasis is on functions, object oriented programming focus on objects. Object-oriented programming (OOP) is a method of structuring a program by bundling related properties and behaviors into individual objects.

In this course, we will learn to implement various OOP concepts such as Creating Classes and Objects, Method Overloading and Overriding, Data Hiding, Data Abstraction, Inheritance and Composition Classes, Customization via Inheritance, Specializing inherited Methods

The aim of this course is to help the student to develop general purpose programming using Python as an OOP language to solve the problems.

The theory, practical experiences and relevant soft skills associated with this course are to be taught and implemented, so that the student demonstrates the industry-oriented outcomes such as: Develop python program to demonstrate use of OOP concepts.

Who this course is for:

  • Beginner Python Developers and those who are studying Python in Diploma or Engineering of Computer Science or alike Programme.