Class or Dictionary?
miki.tebeka at gmail.com
Fri Feb 11 13:48:43 EST 2011
> I have a series of parameter values which i need to pass throughout my
> code (>100), in C I would use a structure for example. However in
> python it is not clear to me if it would be better to use a dictionary
> or build a class object?
namedtuple can be a quick and easy solution for you.
Miki Tebeka <miki.tebeka at gmail.com>
More information about the Python-list