setattr and getattr, when to use?

maestro notnorwegian at yahoo.se
Fri Aug 22 23:50:17 EDT 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