摘要: 一、元类编程 1.1、property动态属性 from datetime import date, datetime class User: def __init__(self, name, birthday): self.name = name self.birthday = birthday 阅读全文
posted @ 2019-12-10 18:58 一知.半解 阅读(305) 评论(0) 推荐(0) 编辑