摘要:
我们都知道Python一切皆对象,那么Python究竟是怎么管理对象的呢? 1、无处不在的__dict__ 首先看一下类的__dict__属性和类对象的__dict__属性 # -*- coding: utf-8 -*- class A(object): """ Class A. """ a = 0 阅读全文
摘要:
1.引言 这两天一直在看Openstack的ceilometer模块,它的官方文档里有这么一段话: Polling: The Telemetry service is intended to store a complex picture of the infrastructure. This go 阅读全文