• Professional Development
  • Medicine & Nursing
  • Arts & Crafts
  • Health & Wellbeing
  • Personal Development

Course Images

Python - Object-Oriented Programming

Python - Object-Oriented Programming

  • 30 Day Money Back Guarantee
  • Completion Certificate
  • 24/7 Technical Support

Highlights

  • On-Demand course

  • 3 hours 30 minutes

  • All levels

Description

Learn Python OOP language used diversely in applications like data science, game/web development, machine learning, and AI. This course provides all you need to master OOPs like classes, objects, data abstraction, methods, overloading, and inheritance. The course primarily aims to help you tackle complex programming and use OOP paradigms efficiently.

Python is a fantastic OOP language that lets you use functional and OOP paradigms. Python offers several benefits compared to other programming languages like Java, C++ or R. It is a dynamic language, with high-level data types. Python is easier to learn for beginners as its codes are more readable and intuitive. This course is designed to take you through the fundamentals of OOPs and understanding how it works. During this course, you will learn about important concepts such as classes, objects, abstraction, method overloading, and inheritance in sufficient detail. The course will also take you through the concepts of objects and attributes, mathematical operators, callable functions, encapsulation, inheritance and method resolution comprehensively. The course explains the OOP paradigm and lets you create class hierarchies using the OOP design process. By the end of the course, you will be able to design and implement Python programs for complex issues and make good use of the OOP features like classes and inheritance and apply your knowledge completing assignments that simulate real-world scenarios. All resources are available at: https://github.com/PacktPublishing/Python---Object-Oriented-Programming

What You Will Learn

Create class hierarchies using the object-oriented design process
Understand the difference between class and instance variables
Make an object indexable, callable, and comparable
Design and implement Python programs for complex problems
Put to code the language features such as classes and inheritance
Tackle complex code with OOP paradigm, design, and implementation

Audience

This course provides new developers who know Python basics to expand their knowledge and developers and learners who wish to learn OOP in Python. Developers involved with game development, GUI programming, AI, machine learning, and other computed automation can benefit from this course. The concepts and techniques can be applied to other programming languages, so intermediate-level developers wishing to advance their programming skillsets can also learn from this course for career advancement. To get the most from this course, you need to be an intermediate-level programmer in Python.

Approach

This course provides high-quality video lectures that help you learn at your pace and work on the concepts learned with practice assignments. During this course, you will see several examples that allow you to fully understand the concepts and develop your code for real-world apps. Coding exercises let you practice with solutions. Each coding exercise provides corresponding solutions and quizzes.

Key Features

High-definition video training with exercises and assignments included, works on Mac or Windows * This course lets you master OOP concepts, classes, lists, functions, abstraction and inheritance * Self-paced learning with exercises, assignments, solutions and quizzes for better understanding

Github Repo

https://github.com/PacktPublishing/Python---Object-Oriented-Programming

About the Author
Simon Sez IT

Simon Sez IT has offered technical courses for individuals, small businesses, and Fortune 500 companies since 2008, with thousands of employees who can benefit from the easy-to-learn and hands-on software training. It offers over 8,000 video tutorials on a range of software programs. Simon Sez IT ensures stress-free eLearning and enhanced employee productivity-whether you implement new software or a technological upgrade in your work environment. With over 600,000 students from 180 countries, Simon Sez IT is the preferred online learning choice for individuals and businesses worldwide.

Course Outline

1. Basics of Object-Oriented Programming

This section provides an introductory overview of the concept of object-oriented programming. We learn how to create objects, print objects, and use classes inside classes in Python OOP.

1. Course Introduction

This video is a general introduction to the course, the concepts we learn from the course, and the complete course as an overview.

2. Introduction to OOP

In this video, you will learn about basic concepts of object-oriented programming. We will understand the concept of an object, how to create an object, how to print an object, and the advantages and capabilities of OOP.

3. Creating Bank Account Object: Attributes

After learning how to define an object, we will consider a bank account as an object and learn how to create it and understand its attributes.

4. Creating Bank Account Object - Methods

In the previous video, you learned about creating a bank account object and setting its attributes. In this lesson, you will learn more about the methods and understand how the object behaves with the methods imparted.

5. Printing Objects

This lecture will teach us how to use the "_str_" string object, which is responsible for printing objects. Here, you learn to use this to define our string object and print it.

6. Using A Class Inside Another Class

After learning how to define objects with attributes and methods, you will learn how to use an object within an object.

2. Inheritance and Abstraction

This section demonstrates an inheritance in OOP, and you will learn about the method resolutions and abstract methods.

1. Class Inheritance

In this video, you will learn about inheritance in OOP, and we will look at how an object behaves after inheriting the attributes of another object and why this is useful.

2. Inheritance and Method Resolution Order Part 1

Here, we will understand inheritance and how an object's attributes and methods are inherited into another object.

3. Inheritance and Method Resolution Order Part 2

In this lesson, we will look at inheritance in further detail and understand accessing object attributes and multi-inheritance.

4. Abstract Methods

This video teaches us the implementation of methods for different classes. You will learn about parent and child classes. We will understand what abstract methods are.

3. Class Level Versus Object Level

This section delves into classes in detail, and you will learn about the different classes and define their attributes. You will also learn in detail the various methods used inside classes.

1. Class Attribute Versus Object Attribute

In this video, you will learn about a class attribute, which is a property of a class. You learn about instance attributes. We will differentiate between instance attributes and class attributes and define class attributes.

2. Different Methods Inside the Class

Here, we will look at methods in detail, such as instance, class, and static. We will create a simple class and differentiate between the three methods.

3. Different Methods Inside the Class Part 2: Use Cases

In this video, we will use the other two methods, namely the class and static methods. We will code classes and look at the attributes of these classes with examples.

4. Assignment 1

In this assignment, we will define an object called "player" and understand the player object's behavior.

5. Assignment 2

In this assignment, we will work with lists and use the "from_string" to create a list of items in an object. You will learn how to create a shopping list class and print the items.

4. Encapsulation

This chapter will discuss the essential concepts of object-oriented programming and encapsulation that combine attributes and methods.

1. Public and Private

In this video, we will understand a key concept called encapsulation in OOP. You will learn about public and private attributes, hide information from code, and protect data.

2. Getters and Setters

This lesson takes us through creating a way to interact with objects, getting attributes, and setting new values to private attributes. We will look at the two methods, getter and setter, to obtain private attributes.

3. Methods as Attributes

You will learn to use getter and setter methods; instead, you will learn to access an attribute like a getter or setter method, and we will use an assigner method.

4. Assignment 3

In this assignment, you will learn to create a class for the weather condition. We will use two attributes such as temperature and status.

5. Magic Functions

This section demonstrates the magic methods in Python programming. You will learn how to make objects callable, iterable, and comparable.

1. Making Your Objects Callable

In this video, you will learn about the "_call_" method, which can be used to make an object callable.

2. Making Your Objects Iterable

In this lesson, you will learn about a new method that helps us to create an object like lists in Python. You will also learn about iterable objects, indexing, and the "_getitem_" method.

3. Make Your Objects Comparable.

Here, you will learn to implement comparison methods. You will learn to invoke the magic methods internally in a class on a specific action like creating an object, printing an object, or comparing two objects.

4. Arithmetic Operations on Objects

You will learn about the different types of operators like the +, /, -, and * and how to concatenate strings. You will learn to use magic methods for mathematical operators.

5. Assignment 4

In this assignment, you will learn to define a text encryption method called Caesar cypher.

6. Assignment 5

In this assignment, we will understand how to create an object called a library with indexing using title and category.

7. Assignment 6

In this assignment, you will learn how to create comparable objects. We will create two objects that have similar attributes and compare them.

8. Assignment 7

In the final assignment, we will understand the implementation of arithmetic operations. We will work on addition and subtraction for the bank account assignment.

Course Content

  1. Python - Object-Oriented Programming

About The Provider

Packt
Packt
Birmingham
Founded in 2004 in Birmingham, UK, Packt’s mission is to help the world put software to work in new ways, through the delivery of effective learning and i...
Read more about Packt

Tags

Reviews