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
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
Learn exactly what you need to achieve your goal. Don’t waste time on unrelated lessons.
Build your project portfolio
Build confidence with our in-depth projects, and show off your data skills.
Challenge yourself with exercises
Work with real data from day one with interactive lessons and hands-on exercises.
Showcase your path certification
Share the evidence of your hard work with your network and potential employers.