コース
Python によるオブジェクト指向プログラミング
上級スキルレベル
更新日 2026/02
PythonProgramming4 時間13 ビデオ44 演習3,600 XP100K+修了証明書
無料アカウントを作成
Google で続行その他のオプションを表示または
何千もの企業の従業員が愛用
チームのトレーニングを担当していますか?
ビジネス向けをお試しくださいコース内容
前提条件
Writing Functions in Python1
OOP Fundamentals
In this chapter, you'll learn what object-oriented programming (OOP) is, how it differs from procedural-programming, and how it can be applied. You'll then define your own classes, and learn how to create methods, attributes, and constructors.
2
Inheritance and Polymorphism
Inheritance and polymorphism are the core concepts of OOP that enable efficient and consistent code reuse. Learn how to inherit from a class, customize and redefine methods, and review the differences between class-level data and instance-level data.
3
Integrating with Standard Python
In this chapter, you'll learn how to make sure that objects that store the same data are considered equal, how to define and customize string representations of objects, and even how to create new error types. Through interactive exercises, you’ll learn how to further customize your classes to make them work more like standard Python data types.
4
Best Practices of Class Design
How do you design classes for inheritance? Does Python have private attributes? Is it possible to control attribute access? You'll find answers to these questions (and more) as you learn class design best practices.
Python によるオブジェクト指向プログラミング
コース完了 19百万人を超える学習者と一緒にPython によるオブジェクト指向プログラミングを今日から始めましょう!
無料アカウントを作成
Google で続行その他のオプションを表示または
DataCamp for Mobileでデータスキルを磨きましょう
モバイル コースと毎日の 5 分間のコーディング チャレンジで、外出先でも進歩できます。