- 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.
推薦閱讀
- TypeScript Essentials
- Spring 5.0 By Example
- Hands-On Data Structures and Algorithms with JavaScript
- Visual Basic程序設(shè)計教程
- 編寫整潔的Python代碼(第2版)
- RTC程序設(shè)計:實(shí)時音視頻權(quán)威指南
- Easy Web Development with WaveMaker
- VMware虛擬化技術(shù)
- BeagleBone Black Cookbook
- SQL Server與JSP動態(tài)網(wǎng)站開發(fā)
- Mobile Device Exploitation Cookbook
- C#開發(fā)案例精粹
- Access 2010數(shù)據(jù)庫應(yīng)用技術(shù)實(shí)驗(yàn)指導(dǎo)與習(xí)題選解(第2版)
- JavaScript+jQuery網(wǎng)頁特效設(shè)計任務(wù)驅(qū)動教程
- Distributed Computing in Java 9