Chuyển đến nội dung chính
Trang chủPython

Tracks

Python Programming

Đã cập nhật tháng 01, 2025
Level-up your programming skills. Learn how to optimize code, write functions and tests, and use best-practice software engineering techniques.
Bắt Đầu Theo Dõi Miễn Phí

Bao gồmPhần thưởng or Đội

PythonProgramming19 giờ26,459

Tạo tài khoản miễn phí của bạn

hoặc

Bằng việc tiếp tục, bạn đồng ý với Điều khoản sử dụng, Chính sách quyền riêng tư của chúng tôi và việc dữ liệu của bạn được lưu trữ tại Hoa Kỳ.
Group

Đào tạo từ 2 người trở lên?

Hãy thử DataCamp for Business

Được người học tại hàng ngàn công ty yêu thích.

Mô tả bài hát

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.

Điều kiện tiên quyết

Python Programming Fundamentals
  • Chapter

    thưởng

    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

    thưởng

    Decorators

    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
Đã
hoàn

Giấy chứng nhận hoàn thành khóa học

Thêm chứng chỉ này vào hồ sơ LinkedIn, sơ yếu lý lịch hoặc CV của bạn.
Hãy chia sẻ điều đó trên mạng xã hội và trong bản đánh giá hiệu suất của bạn.

Bao gồmPhần thưởng or Đội

Đăng Ký Ngay

Hãy tham gia cùng chúng tôi 18 triệu người học và bắt đầu Python Programming ngay hôm nay!

Tạo tài khoản miễn phí của bạn

hoặc

Bằng việc tiếp tục, bạn đồng ý với Điều khoản sử dụng, Chính sách quyền riêng tư của chúng tôi và việc dữ liệu của bạn được lưu trữ tại Hoa Kỳ.