跳至内容
首页Python

学习路径

Python Programming

更新时间 2026年3月
Level-up your programming skills. Learn how to optimize code, write functions and tests, and use best-practice software engineering techniques.
免费开始学习路径

包含在Premium or 团队

PythonProgramming19 小时27,691

创建您的免费帐户

继续操作即表示您接受我们的《使用条款》和《隐私政策》,并同意您的数据存储在美国。

深受数千家公司学习者的喜爱

培训2人或更多?

试用DataCamp for Business

学习路径描述

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.

先决条件

Python Programming Fundamentals
  • Chapter

    额外

    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 课程
学习路径完成

获得成就证明

将此证书添加到你的 LinkedIn 档案、简历或履历中
在社交媒体和绩效评估中分享

包含在Premium or 团队

立即注册

加入超过19百万���习者,今天就开始Python Programming !

创建您的免费帐户

继续操作即表示您接受我们的《使用条款》和《隐私政策》,并同意您的数据存储在美国。