Packt

Intermediate Python: Modules, OOP & App Development

Labor Day starts with $70+ in savings on Coursera Plus. Save 40% for 3 months.

Packt

Intermediate Python: Modules, OOP & App Development

Included with Coursera PlusLearn more

Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

2 weeks to complete
at 10 hours a week
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

2 weeks to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

What you'll learn

  • Install and configure Python on macOS and Windows

  • Build real-world applications like a Texas Hold'em Poker game

  • Implement object-oriented programming using classes and inheritance

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

August 2026

Assessments

13 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

Build your subject-matter expertise

This course is part of the Learn to Code with Python Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There are 12 modules in this course

This module covers the fundamentals of Python modules and packages, including how to import and organize code, use the import keyword, and manage namespaces effectively. Learners will gain hands-on knowledge of Python's standard libraries and best practices for modular programming.

What's included

8 videos1 reading1 assignment

This module teaches learners how to read from and write to files in Python, covering essential techniques like file opening, reading line by line, writing with different modes, and appending data. It also includes best practices for managing file operations effectively.

What's included

4 videos1 assignment

This module explores advanced Python concepts including higher-order functions, nested functions, variable scope, and decorators. Learners will gain a deep understanding of how to manipulate functions, manage variable lifecycles, and dynamically extend function behavior using decorators. The content includes practical examples and coding exercises to reinforce key principles.

What's included

16 videos1 assignment

This module introduces the fundamental concepts of object-oriented programming in Python, focusing on how to define and use classes, create objects, and manage attributes and methods. Learners will gain hands-on experience with class instantiation, the __init__ method, and setting default attribute values. By the end, students will be able to structure their code using OOP principles effectively.

What's included

9 videos1 assignment

This module explores advanced concepts in object-oriented programming in Python, including instance methods, class methods, static methods, encapsulation, and attribute management. Learners will gain hands-on experience with defining and using properties, understanding attribute lookup order, and dynamically managing object attributes. The module emphasizes practical implementation through coding exercises and solutions.

What's included

14 videos1 assignment

This module explores Python's magic methods, teaching learners how to customize object behavior for operations like equality, string representation, and iteration. It covers practical implementation of methods such as __str__, __eq__, __len__, and __getitem__, and includes coding exercises to reinforce understanding. Learners will also gain insights into docstrings and the namedtuple object for better code documentation and structure.

What's included

15 videos1 assignment

This module explores the fundamentals of inheritance in Python, including subclassing, method overriding, and the use of the super() function. It also covers advanced topics like polymorphism, multiple inheritance, and composition as alternatives to inheritance. Learners will gain practical skills in designing and implementing object-oriented code structures.

What's included

17 videos1 assignment

This module provides a comprehensive guide to handling errors in Python through exception handling techniques. Learners will explore how to use try-except blocks, raise exceptions, and create custom error classes. The module also covers best practices for structured error management using else and finally blocks.

What's included

7 videos1 assignment

This module covers the fundamentals of working with dates and time in Python, including creating, manipulating, and formatting date, time, and datetime objects. Learners will gain hands-on experience with the datetime module and learn to perform time-based calculations and comparisons.

What's included

7 videos1 assignment

This module covers the essential functions in Python's random module, such as generating random numbers, selecting elements from sequences, and shuffling lists. Learners will understand how to implement randomness effectively in their code and recognize the proper use cases for each function.

What's included

3 videos1 assignment

This module introduces learners to the fundamentals of unit testing in Python, covering essential tools like the assert statement, doctest, and unittest modules. It explores how to write and organize tests, handle errors, and ensure code reliability through various assertion methods and test lifecycle functions.

What's included

16 videos1 assignment

This module teaches how to use Python's unittest.mock module to create and manage mock objects, enabling effective unit testing by simulating external dependencies. Learners will explore attributes like return_value and side_effect, as well as tools like patch() and @patch decorator to isolate code components during testing. By the end, students will be able to build reliable and maintainable test cases using advanced mocking techniques.

What's included

11 videos1 reading2 assignments

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructor

Packt - Course Instructors
Packt
2,238 Courses656,908 learners

Offered by

Packt

Why people choose Coursera for their career

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Frequently asked questions