Python记录篇
文章平均质量分 92
LoveStackover
大龄码农,依然坚持,脚踏实地,不放弃梦想。
展开
-
The Python Tutorial之Class(一)
1. A Word About Names and Objects Objects have individuality, and multiple names (in multiple scopes) can be bound to the same object. This is known as aliasing in other languages. For exam...原创 2020-11-20 11:46:01 · 217 阅读 · 0 评论 -
The Python Tutorial之Class(二)
1. Class Objects When a class definition is entered, a new namespace is created, and used as the local scope — thus, all assignments to local variables go into this new namespace. In particular, f...原创 2020-11-20 11:45:52 · 203 阅读 · 0 评论 -
The Python Tutorial之Class(三)
1. Inheritance The name BaseClassName must be defined in a scope containing the derived class definition. In place of a base class name, other arbitrary expressions are also allowed. This can b...原创 2020-11-20 11:45:30 · 109 阅读 · 0 评论