แทร็ก
การเขียนโปรแกรม Python
สร้างบัญชีฟรีของคุณ
ดำเนินการต่อด้วย Googleแสดงตัวเลือกเพิ่มเติมหรือ
เป็นที่รักของผู้เรียนในบริษัทหลายพันแห่ง
กำลังฝึกอบรมทีม?
ลองใช้สำหรับธุรกิจคำอธิบายเส้นทางการเรียน
การเขียนโปรแกรม Python
ข้อกำหนดเบื้องต้น
พื้นฐานการเขียนโปรแกรม PythonChapter
โบนัส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
เรียนรู้การเขียนโค้ดที่มีประสิทธิภาพ ทำงานได้รวดเร็ว และจัดสรรทรัพยากรอย่างชาญฉลาดเพื่อหลีกเลี่ยงโอเวอร์เฮดที่ไม่จำเป็น
Course
เรียนรู้เกี่ยวกับ modularity, documentation และ automated testing เพื่อช่วยให้คุณแก้ปัญหา data science ได้เร็วและเชื่อถือได้มากขึ้น
Course
เชี่ยวชาญการทดสอบ Python: เรียนรู้วิธีการ สร้างการตรวจสอบ และทำให้โค้ดปราศจากข้อผิดพลาดด้วย pytest และ unittest
Course
ค้นพบแนวคิดพื้นฐานของการเขียนโปรแกรมเชิงวัตถุ (OOP) สร้างคลาสและอ็อบเจ็กต์แบบกำหนดเอง!
Project
Review a data analysis workflow for adherence to Python standards and best-practices.
Track
รับใบรับรองความสำเร็จ
เพิ่มใบรับรองนี้ไปยังโปรไฟล์ LinkedIn เรซูเม่ หรือ CV ของคุณแชร์บน social media และในการรีวิวผลการปฏิบัติงานของคุณลงทะเบียนทันที
ร่วมกับผู้เรียนกว่า 19 ล้านคนและเริ่มต้น การเขียนโปรแกรม Python วันนี้!
สร้างบัญชีฟรีของคุณ
ดำเนินการต่อด้วย Googleแสดงตัวเลือกเพิ่มเติมหรือ
พัฒนาทักษะด้านข้อมูลของคุณด้วย DataCamp for Mobile
พัฒนาทักษะได้ทุกที่ทุกเวลาด้วยคอร์สเรียนบนมือถือและแบบฝึกหัดเขียนโค้ดประจำวัน 5 นาทีของเรา