Skip to main content
HomePython

track

Python Programming

Level-up your programming skills. Learn how to optimize code, write functions and tests, and use best-practice software engineering techniques.
Start track for free

Included withPremium or Teams

PythonSoftware Development19 hours9,259

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
Group

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies

Track Description

Python Programming

In this track, you'll build on the concepts and skills covered in the Python Programming Fundamentals skill track! Enhance your custom functions by leveraging context managers and decorators, and learn how to improve the efficiency of your code. As your skills develop, you’ll then gain an understanding of software engineering concepts, including modularity, documentation, and automated testing using pytest. By the end of the track, you'll be using your object-oriented programming (OOP) skills to read, reuse, and maintain your code. Start this track to continue on your Python programming journey. Next, you’ll get hands-on experience as you learn how to write functions following best practices, such as how to write documentation and use context managers and decorators. As your Python skills develop, you’ll then gain an understanding of software engineering concepts, including modularity, documentation, and automated testing, before diving in to learn unit-testing skills like debugging code, Test Driven Development (TDD), and using fixtures and mocking. Along the way, you'll use packages like pandas, NumPy, setuptools, pytest, and pycodestyle to practice Python programming. By the end of the track, you'll be using your object-oriented programming (OOP) skills to read, reuse, and maintain your code. Start this track to continue on your Python programming journey.

Prerequisites

Python Programming Fundamentals
  • Chapter

    bonus

    Context Managers

    If you've ever seen the "with" keyword in Python and wondered what its deal was, then this is the chapter for you! Context managers are a convenient way to provide connections in Python and guarantee that those connections get cleaned up when you are done using them. This chapter will show you how to use context managers, as well as how to write your own.

  • Chapter

    Decorators are an extremely powerful concept in Python. They allow you to modify the behavior of a function without changing the code of the function itself. This chapter will lay the foundational concepts needed to thoroughly understand decorators (functions as objects, scope, and closures), and give you a good introduction into how decorators are used and defined. This deep dive into Python internals will set you up to be a superstar Pythonista.

  • Chapter

    Now that you understand how decorators work under the hood, this chapter gives you a bunch of real-world examples of when and how you would write decorators in your own code. You will also learn advanced decorator concepts like how to preserve the metadata of your decorated functions and how to write decorators that take arguments.

  • Course

    4

    Writing Efficient Python Code

    Learn to write efficient code that executes quickly and allocates resources skillfully to avoid unnecessary overhead.

  • Project

    Review a data analysis workflow for adherence to Python standards and best-practices.

Python Programming
4 courses
Track
Complete

Earn Statement of Accomplishment

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

Included withPremium or Teams

Enroll now

FAQs

Join over 15 million learners and start Python Programming today!

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.