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

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
主站蜘蛛池模板: 虞城县| 保山市| 邵武市| 库车县| 满城县| 会东县| 晋江市| 通州区| 康定县| 临沭县| 庄河市| 正宁县| 竹溪县| 迁安市| 平江县| 星座| 邓州市| 海林市| 乐山市| 同德县| 肥东县| 麻城市| 博湖县| 社会| 七台河市| 炎陵县| 吴旗县| 银川市| 焉耆| 阿合奇县| 阳东县| 荣昌县| 东乌| 鞍山市| 大理市| 梁河县| 衡东县| 依安县| 朝阳县| 滦平县| 黄龙县|