官术网_书友最值得收藏!

Chapter 2. Objects in Python

So, we now have a design in hand and are ready to turn that design into a working program! Of course, it doesn't usually happen this way. We'll be seeing examples and hints for good software design throughout the book, but our focus is object-oriented programming. So, let's have a look at the Python syntax that allows us to create object-oriented software.

After completing this chapter, we will understand:

  • How to create classes and instantiate objects in Python
  • How to add attributes and behaviors to Python objects
  • How to organize classes into packages and modules
  • How to suggest people don't clobber our data
主站蜘蛛池模板: 洪雅县| 肃南| 肇州县| 咸丰县| 宜宾县| 林口县| 呼伦贝尔市| 鹤峰县| 双鸭山市| 宁阳县| 邹城市| 宁化县| 临潭县| 珠海市| 宁海县| 即墨市| 井研县| 西盟| 兖州市| 渝北区| 新和县| 明溪县| 宁津县| 德钦县| 高青县| 汝城县| 沧源| 兴义市| 双鸭山市| 溧水县| 仪征市| 临江市| 博罗县| 台前县| 宜昌市| 遂溪县| 潢川县| 石城县| 昌乐县| 伊川县| 青川县|