Time is the onle true unit of measure
时间是衡量一切的标准unit:单位,单元,标准
measure:测量,衡量
Python Class 类Compared with other promgramming languages, Python's class mechanism adds classes with a minimum of new syntax and semantics
Python类机制利用最少的新的语法和语义引入类mechanism:机制
syntax:语法
semantic:语义It's a mixture of the class mechanisms found in C++ and Module-3
它是C++和Module-3类机制的混合Python classes provide all standard features of Object Oriented Programming:
Python类机制提供了所有的面向对象编程的基本功能The class inheritance mechanism allows mutiple base classes, a derived class can overrideany methods of its base class or classes, and a method of a base class with the same name
类继承机制允许多重继承,派生类可以覆盖其基类的任意方法/嵌套类,方法能够以相同的名称调用基类中的方法inheritence:继承
derive:衍生
override:覆盖Objects can contain arbitrary amounts and kinds of data
对象可以包含任意的数量和种类的数据arbitrary:任意的As is true for modules, classes partake of the dynamic nature of Python
就像模块一样,类也具有Python的动态特性be true for:适用于
partake:吃、喝、带有某种属性
nature:特征They are created at runtime, and can be modified futher after creation
运行时创建,创建后修改