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

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
主站蜘蛛池模板: 开原市| 尉犁县| 牙克石市| 克拉玛依市| 襄樊市| 马尔康县| 浠水县| 胶州市| 玛沁县| 庐江县| 宣威市| 盐池县| 孝昌县| 开封市| 梁山县| 常熟市| 肥西县| 富阳市| 京山县| 胶南市| 济南市| 涿鹿县| 沁源县| 西乌珠穆沁旗| 天祝| 中牟县| 灌阳县| 曲靖市| 策勒县| 子洲县| 南华县| 甘肃省| 犍为县| 洛浦县| 海口市| 寿光市| 稷山县| 十堰市| 驻马店市| 稷山县| 阳山县|