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

Coursera

Intermediate Python and OOP

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. In this course, you will deepen your understanding of Python and Object-Oriented Programming (OOP) concepts, expanding your skills beyond the basics. You’ll learn how to handle exceptions and errors, use recursion, and optimize algorithms, while also gaining proficiency in complex data structures like dictionaries, sets, and tuples. With hands-on exercises and examples, you will apply these concepts in practical ways that strengthen your Python programming expertise. The course begins by teaching exception handling, focusing on how to differentiate between syntax and runtime errors, catch multiple exceptions, and raise custom exceptions. You'll then dive into recursion, implementing algorithms like factorials and Fibonacci sequences. Following this, you'll explore searching and sorting algorithms such as linear search, binary search, and quicksort, as well as gain experience with data structures like dictionaries and sets. The course culminates in the application of OOP principles, such as classes, inheritance, polymorphism, and unit testing. This intermediate-level course is ideal for learners who already have a basic understanding of Python and want to refine their skills in error handling, recursion, algorithms, and object-oriented programming. You'll apply your learning through coding exercises, examples, and a project that prepares you for more advanced Python programming. By the end of the course, you will be able to handle exceptions effectively, design and optimize algorithms, work with complex data structures, apply OOP principles to Python programs, and create tests for your code using pytest.

Syllabus

  • Exception and Error Handling
    • In this module, we will cover the fundamentals of exception and error handling in Python. You’ll learn how to distinguish between syntax errors and exceptions, handle multiple errors gracefully, and raise custom exceptions to ensure that your code is robust and reliable.
  • Recursive Programming
    • In this module, we will dive into recursive programming. You’ll explore how recursion works and compare it with iterative approaches for solving problems like calculating factorials and Fibonacci sequences. We will also focus on optimizing recursive solutions for improved performance.
  • Searching and Sorting Algorithms
    • In this module, we will explore searching and sorting algorithms. You’ll learn how to search efficiently using linear and binary search and master sorting techniques, including BubbleSort, QuickSort, and MaxSort. We will also examine the computational complexity of each approach.
  • Data Structures Beyond Lists
    • In this module, we will introduce more advanced data structures beyond lists, including dictionaries, tuples, and sets. You’ll learn how to use these structures effectively, manipulate their data, and apply them to real-world problems like counting word frequencies and checking anagram relationships.
  • Object-Oriented Programming
    • In this module, we will dive deep into Object-Oriented Programming in Python. You’ll learn how to create and manage classes, implement inheritance and polymorphism, and use encapsulation to protect object data. We will also cover advanced features like operator overloading and dunder methods to customize object behavior.
  • Unit Testing with pytest
    • In this module, we will focus on unit testing using pytest. You’ll learn how to write and execute tests, utilize parameterization to run multiple test cases efficiently, and organize your codebase for effective testing. Unit testing will ensure that your code is functioning as expected and help maintain code quality.
  • File-Handling and Modules
    • In this module, we will cover file handling and modular programming in Python. You’ll learn how to read and write text files, handle file exceptions, and use the with statement to ensure proper file management. Additionally, we will explore how to import built-in and custom modules to modularize your code effectively.

Taught by

Packt - Course Instructors

Reviews

Start your review of Intermediate Python and OOP

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.