#dgango

dgango 反射

相关"""反射由字符串反向找变量、函数、类"""importsysclassPerson(object):def__init__(self,name):self.name=namedefeat(self,food):print("{}在吃{}".format(self.name,food))defdream(self)...
代码星球 ·2020-04-02