[PySide] complicated dictionaries

John Ehresman jpe at wingware.com
Thu Apr 25 01:58:22 CEST 2013


On 4/24/13 7:40 PM, Aaron Richiger wrote:
> For people still interested in this tutorial: It goes towards meta 
> programming. It allows you defining many different classes with very 
> little code (but only as long as the classes exactly fit into the 
> limitations of this template).

Yes, I can kind of see how it generates classes.  It's probably better
to do something like this via metaclasses.  I just get scared when I see
code that uses locals() to set things in the local namespace ;).

Cheers,

John





More information about the PySide mailing list