Posted By

whitetiger on 11/09/06


Tagged

resize image python download timer mask series60 pys60 blit scale sprite feature sleep sms inbox wget tutorial fractal mandelbrot


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

anayhk


Python - create attributes


 / Published in: Python
 

  1. class Demo: pass # Oggetto contenitore
  2.  
  3. def createAttributes():
  4. rc = Demo()
  5.  
  6. setattr(rc, 'myobj', 'valore')
  7.  
  8. return rc

Report this snippet  

You need to login to post a comment.