setattr and getattr, when to use?

maestro notnorwegian at yahoo.se
Sat Aug 23 05:50:17 CEST 2008


Why are these functions there? Is it somehow more idiomatic to use
than to do obj.field ?
Is there something you can with them that you can't by obj.field
reference?



More information about the Python-list mailing list