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

Built-in types and the object model

One of the most fundamental design elements of the Python language is its use of objects. Objects are the central data structure not only of user-level constructs but also many of the inner workings of the language itself. In this chapter we'll start to to develop a sense of what this means, both in principle and in practice, and hopefully you'll start to appreciate just how pervasive objects are throughout Python.

We'll take a look at what objects are, how you use them, and how you manage references to them. We'll also start to explore the notion of types in Python, and we'll see how Python's types are both similar to and different from those in many other popular languages. As part this exploration we'll take a more in-depth look at some collection types we've met already, and introduce a few more collection types as well.

主站蜘蛛池模板: 沅江市| 云梦县| 宝鸡市| 壶关县| 涪陵区| 勃利县| 泰安市| 桐梓县| 且末县| 石首市| 财经| 美姑县| 阿拉善左旗| 陈巴尔虎旗| 五台县| 清新县| 当阳市| 鄂伦春自治旗| 常州市| 驻马店市| 炉霍县| 通化市| 瑞昌市| 宁德市| 灵璧县| 金川县| 洪江市| 赣州市| 桂阳县| 景泰县| 色达县| 沿河| 千阳县| 天全县| 五台县| 邮箱| 屯留县| 尉犁县| 保康县| 绥棱县| 佛坪县|