ข้ามไปยังเนื้อหาหลัก
บ้านPython

Tracks

การเขียนโปรแกรม Python

อัปเดตแล้ว 05/2569
ยกระดับทักษะการเขียนโปรแกรมของคุณ เรียนรู้วิธีเพิ่มประสิทธิภาพโค้ด เขียนฟังก์ชันและการทดสอบ และใช้เทคนิควิศวกรรมซอฟต์แวร์ตามแนวปฏิบัติที่ดีที่สุด
เริ่มเล่นแทร็กฟรีได้เลย
Pythonการเขียนโปรแกรม
19 ชม.
28,710

สร้างบัญชีฟรีของคุณ

หรือ

เมื่อดำเนินการต่อ คุณยอมรับข้อกำหนดการใช้งานของเรา นโยบายความเป็นส่วนตัวของเรา และยอมรับว่าข้อมูลของคุณจะถูกจัดเก็บไว้ในสหรัฐอเมริกา

เป็นที่ชื่นชอบของผู้เรียนในบริษัทหลายพันแห่ง

Group

Training a Team?

Try for Business

คำอธิบายแทร็ก

การเขียนโปรแกรม Python

ในเส้นทางนี้ คุณจะต่อยอดแนวคิดและทักษะที่ครอบคลุมในเส้นทางทักษะ Python Programming Fundamentals!ปรับปรุงฟังก์ชันกำหนดเองของคุณด้วยการใช้ context managers และ decorators และเรียนรู้วิธีเพิ่มประสิทธิภาพของโค้ดของคุณ เมื่อทักษะของคุณพัฒนาขึ้น คุณจะเข้าใจแนวคิดด้านวิศวกรรมซอฟต์แวร์ รวมถึงความเป็นโมดูล เอกสารประกอบ และการทดสอบอัตโนมัติโดยใช้ pytest เมื่อจบเส้นทางนี้ คุณจะใช้ทักษะการเขียนโปรแกรมเชิงวัตถุ (OOP) เพื่ออ่าน นำกลับมาใช้ใหม่ และดูแลรักษาโค้ดของคุณ เริ่มเส้นทางนี้เพื่อสานต่อการเดินทางด้านการเขียนโปรแกรม Python ของคุณต่อไป คุณจะได้ลงมือปฏิบัติจริง พร้อมเรียนรู้วิธีเขียนฟังก์ชันตามแนวปฏิบัติที่ดีที่สุด เช่น วิธีเขียนเอกสารประกอบ และการใช้ context managers กับ decorators เมื่อทักษะ Python ของคุณพัฒนาขึ้น คุณจะได้ทำความเข้าใจแนวคิดด้านวิศวกรรมซอฟต์แวร์ รวมถึงความเป็นโมดูล เอกสารประกอบ และการทดสอบอัตโนมัติ ก่อนจะลงลึกเพื่อเรียนรู้ทักษะการทดสอบหน่วย เช่น การดีบักโค้ด, Test Driven Development (TDD) และการใช้ fixtures และ mocking ระหว่างทาง คุณจะใช้แพ็กเกจอย่าง pandas, NumPy, setuptools, pytest และ pycodestyle เพื่อฝึกเขียนโปรแกรม Pythonเมื่อจบเส้นทางนี้ คุณจะใช้ทักษะการเขียนโปรแกรมเชิงวัตถุ (OOP) เพื่ออ่าน นำกลับมาใช้ใหม่ และดูแลรักษาโค้ดของคุณ เริ่มเส้นทางนี้เพื่อสานต่อการเดินทางด้านการเขียนโปรแกรม Python ของคุณ

ข้อกำหนดเบื้องต้น

พื้นฐานการเขียนโปรแกรม Python
  • 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

    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

    โบนัส

    More on Decorators

    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
4 Courses
ติดตามเสร็จสมบูรณ์

ได้รับใบรับรองความสำเร็จ

เพิ่มข้อมูลรับรองนี้ลงในโปรไฟล์ LinkedIn, ประวัติย่อ หรือเรซูเม่ของคุณ
แชร์ลงในโซเชียลมีเดียและในรายงานประเมินผลการปฏิบัติงานของคุณ
ลงทะเบียนเลย

เข้าร่วมกับ... 19 ล้านผู้เรียน และเริ่ม การเขียนโปรแกรม Python วันนี้เลย!

สร้างบัญชีฟรีของคุณ

หรือ

เมื่อดำเนินการต่อ คุณยอมรับข้อกำหนดการใช้งานของเรา นโยบายความเป็นส่วนตัวของเรา และยอมรับว่าข้อมูลของคุณจะถูกจัดเก็บไว้ในสหรัฐอเมริกา

พัฒนาทักษะด้านข้อมูลของคุณด้วย DataCamp for Mobile

พัฒนาทักษะได้ทุกที่ทุกเวลาด้วยคอร์สเรียนบนมือถือและแบบฝึกหัดเขียนโค้ดประจำวัน 5 นาทีของเรา