- Python 3 Object:oriented Programming(Second Edition)
- Dusty Phillips
- 84字
- 2021-07-16 20:44:31
Summary
In this chapter, we learned how simple it is to create classes and assign properties and methods in Python. Unlike many languages, Python differentiates between a constructor and an initializer. It has a relaxed attitude toward access control. There are many different levels of scope, including packages, modules, classes, and functions. We understood the difference between relative and absolute imports, and how to manage third-party packages that don't come with Python.
In the next chapter, we'll learn how to share implementation using inheritance.
推薦閱讀
- PHP動(dòng)態(tài)網(wǎng)站程序設(shè)計(jì)
- 基于粒計(jì)算模型的圖像處理
- Visual C++程序設(shè)計(jì)學(xué)習(xí)筆記
- C語言程序設(shè)計(jì)案例教程(第2版)
- 軟件界面交互設(shè)計(jì)基礎(chǔ)
- Essential Angular
- C語言從入門到精通(第4版)
- 用Flutter極速構(gòu)建原生應(yīng)用
- Drupal 8 Module Development
- Gradle for Android
- 組態(tài)軟件技術(shù)與應(yīng)用
- Mastering JavaScript Design Patterns(Second Edition)
- 深入分布式緩存:從原理到實(shí)踐
- Visual Foxpro 9.0數(shù)據(jù)庫程序設(shè)計(jì)教程
- HoloLens與混合現(xiàn)實(shí)開發(fā)