IC#我们通过反思来做到这一点.在Javascript中它很简单:
for(var propertyName in objectName) var currentPropertyValue = objectName[propertyName];
怎么用Python做?
python reflection properties
properties ×1
python ×1
reflection ×1