摘要: 1. with-as (context-manager) Example: Codes above do the following: Let instance = function(), where function returns an instantiation of some object, 阅读全文
posted @ 2016-09-01 22:13 m.Just 阅读(221) 评论(0) 推荐(0)
摘要: Classes Python classes provide all the standard features of Object Oriented Programming: the class inheritance mechanism allows multiple base classes, 阅读全文
posted @ 2016-09-01 21:48 m.Just 阅读(300) 评论(0) 推荐(0)