“The learning paths on Dataquest are incredible. They give you a direction through the learning process – you don’t have to guess what to learn next.”

Otávio Silveira

Data Analyst @ Hortifruti

Course overview

This course focuses on intermediate Python skills needed for development and working with AI.

Throughout the course, you’ll dive into object-oriented programming tailored for applications, grasp the fundamentals of decorators, and harness the power of regular expressions. Elevate the functionality and efficiency of your projects, and confidently tackle user input errors and typical programming challenges.

Most importantly, you’ll learn by doing — practicing and receiving feedback directly in the browser. By the end, you’ll be better equipped to take on advanced web development tasks with Python.

Key skills

  • Use object-oriented programming (OOP)
  • Create and use decorators
  • Write regular expressions (regex)
  • Incorporate error handling for user input validation

Course outline

Intermediate Python [5 lessons]

Basic Object Oriented Programming in Python 2h

Lesson Objectives
  • Define object-oriented programming
  • Define classes, instances, attributes, and methods
  • Create your own class

Intermediate Object Oriented Programming 2h

Lesson Objectives
  • Understand the concepts of inheritance, polymorphism, and encapsulation
  • Customize subclass attributes and use the super() function to override inherited methods
  • Apply polymorphism to design parent class and subclass methods that can take multiple forms
  • Implement private methods, getters, and setters to protect and manage object state in Python classes

Decorators 2h

Lesson Objectives
  • Understand and implement decorators
  • Use "syntactic sugar" to decorate functions
  • Apply *args and **kwargs to functions and wrappers
  • Use the functools library to preserve function information when decorating functions

Introduction to Regular Expressions and Error Handling 2h

Lesson Objectives
  • Recognize the role of regular expressions in programming
  • Write simple regex patterns
  • Raise and handle errors and exceptions
  • Use the Python `re` library

Guided Project: Garden Simulator Text Based Game 2h

Lesson Objectives
  • Create custom classes that interact with each other
  • Implement error handling to account for user input
  • Practice debugging a program

Projects in this course

Guided Project: Garden Simulator Text Based Game

For this project, you’ll step into the role of a Python game developer to create an interactive text-based “Garden Simulator” using object-oriented programming, error handling, and randomness.

The Dataquest guarantee


Dataquest has helped thousands of people start new careers in data. If you put in the work and follow our path, you’ll master data skills and grow your career.


We believe so strongly in our paths that we offer a full satisfaction guarantee. If you complete a career path on Dataquest and aren’t satisfied with your outcome, we’ll give you a refund.

Master skills faster with Dataquest

Go from zero to job-ready

Go from zero to job-ready

Learn exactly what you need to achieve your goal. Don’t waste time on unrelated lessons.

Build your project portfolio

Build your project portfolio

Build confidence with our in-depth projects, and show off your data skills.

Challenge yourself with exercises

Challenge yourself with exercises

Work with real data from day one with interactive lessons and hands-on exercises.

Showcase your path certification

Showcase your path certification

Impress employers by completing a capstone project and certifying it with an expert review.

Grow your career with

of learners recommend
Dataquest for career advancement
Dataquest rating
SwitchUp Best Bootcamps
Average salary boost
for learners who complete a path

Aaron Melton

Business Analyst at Aditi Consulting

“Dataquest starts at the most basic level, so a beginner can understand the concepts. I tried learning to code before, using Codecademy and Coursera. I struggled because I had no background in coding, and I was spending a lot of time Googling. Dataquest helped me actually learn.”


Jessica Ko

Machine Learning Engineer at Twitter

“I liked the interactive environment on Dataquest. The material was clear and well organized. I spent more time practicing then watching videos and it made me want to keep learning.”


Victoria E. Guzik

Associate Data Scientist at Callisto Media

“I really love learning on Dataquest. I looked into a couple of other options and I found that they were much too handhold-y and fill in the blank relative to Dataquest’s method. The projects on Dataquest were key to getting my job. I doubled my income!”

Join 1M+ data learners on


Create a free account


Choose a learning path


Complete exercises and projects


Advance your career

Start learning today