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

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
主站蜘蛛池模板: 兴山县| 秦安县| 滨海县| 青神县| 上栗县| 勃利县| 紫阳县| 石首市| 宣化县| 鄂州市| 纳雍县| 兴化市| 尉氏县| 沾益县| 寿光市| 石泉县| 离岛区| 瓦房店市| 尼木县| 东安县| 永宁县| 静乐县| 宜阳县| 安仁县| 十堰市| 六枝特区| 刚察县| 鲜城| 黑山县| 兴城市| 民乐县| 宁都县| 延寿县| 安丘市| 建始县| 郴州市| 固阳县| 北川| 策勒县| 大渡口区| 秭归县|