2019年11月8日

摘要: #动态创建类# type(class_name, tuple_of_parent_class, dict_of_attribute_names_and_values), 第二个参数为继承关系,可以为空,第三个描述类应该具有的attribute#正常创建类class TestClass2(object 阅读全文
posted @ 2019-11-08 12:07 yingchen 阅读(203) 评论(0) 推荐(0)

导航