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

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 that way, but this book is about programming in Python. 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
主站蜘蛛池模板: 北辰区| 甘德县| 兴化市| 突泉县| 武隆县| 东明县| 太仓市| 陆良县| 深州市| 定陶县| 安吉县| 衡东县| 会东县| 麟游县| 贵德县| 延边| 许昌市| 威海市| 汝南县| 松溪县| 隆尧县| 贵南县| 岐山县| 株洲县| 龙海市| 庐江县| 临江市| 两当县| 东兰县| 定远县| 大厂| 遂宁市| 定陶县| 神木县| 全南县| 泰州市| 白银市| 彭山县| 正蓝旗| 阜南县| 涪陵区|