/ Published in: Python

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
class Demo: pass # Oggetto contenitore def createAttributes(): rc = Demo() setattr(rc, 'myobj', 'valore') return rc
Comments
