Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coursera

Object Oriented Python

Packt via Coursera

Overview

Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
This course features Coursera Coach! A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. This comprehensive course will help you master the core concepts of Object-Oriented Programming (OOP) in Python. You will begin with the foundational principles of OOP, such as classes, objects, inheritance, and polymorphism, and how they apply to Python. By learning these concepts, you will be able to write clean, modular, and maintainable code, adhering to the DRY (Don't Repeat Yourself) principle. As you progress, you'll tackle more advanced topics such as extending classes with single and multiple inheritance and using composition effectively. The course is designed as a practical, hands-on journey. You will first set up Python and your IDE environment to begin coding, followed by learning about creating and using classes and objects. Throughout the course, you'll also be tasked with building and refactoring a simple text-based adventure game, MonsterSlash, in Python. As the course advances, you will refine the game by adding more complex features like player-enemy interactions, attacks, and improved game design. This course is suitable for anyone interested in learning Python programming with a focus on OOP. Whether you're a beginner looking to understand object-oriented principles or an intermediate Python developer wanting to sharpen your skills, this course has something for you. No prior knowledge of OOP is required, but a basic understanding of Python programming is helpful. By the end of the course, you will be able to confidently design and implement object-oriented programs in Python, use inheritance and polymorphism to create reusable code, refactor your programs for better efficiency, and build interactive applications such as text-based games. You will also develop the ability to critically analyze and improve your code to meet industry standards.

Syllabus

  • Introduction to OOP
    • In this module, we will introduce you to the world of Object-Oriented Programming (OOP) using Python. You will learn the fundamentals of OOP, including how to create classes and objects, as well as how to use inheritance to make your code more efficient and maintainable.
  • Installation
    • In this module, we will guide you through the installation and setup of Python, helping you choose the right text editors and IDEs for coding. You'll also get hands-on experience with testing Python scripts in the REPL, ensuring a smooth start to your programming journey.
  • OOP
    • In this module, we will dive deep into the core principles of Object-Oriented Programming, including encapsulation, abstraction, inheritance, and polymorphism. By the end, you will have a solid understanding of how to implement these concepts in Python.
  • Objects and Classes
    • In this module, we will teach you how to create classes and objects in Python. You’ll also learn how to add methods to these objects and understand important considerations for working with these key OOP features in your projects.
  • Extending Classes
    • In this module, we will explore extending classes in Python, focusing on both single and multiple inheritance. You'll also learn about composition and why it’s often considered a better practice than inheritance in many cases.
  • MonsterSlash
    • In this module, we will build a simple text-based game, MonsterSlash, using Object-Oriented Python. You will design the game’s characters (the player and enemy) and establish the mechanics for player-enemy engagement.
  • Game Refractor
    • In this module, we will focus on refactoring the MonsterSlash game, improving its code quality and performance. You’ll learn how to streamline your game code and extend its features while adhering to OOP best practices.
  • Actor Refractor
    • In this module, we will dive into the process of refactoring the actor code in the MonsterSlash game. You will learn how to clean up and optimize your code by applying Object-Oriented Python concepts, while also extending the player and enemy features to make them more dynamic and functional.
  • Extending the Game
    • In this module, we will extend MonsterSlash by adding new gameplay features such as enemy attacks and complex interactions. You'll use advanced OOP techniques to make the game more dynamic and enjoyable for players.

Taught by

Packt - Course Instructors

Reviews

Start your review of Object Oriented Python

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.