[Numpy-discussion] Reading automatically all the parameters from a file

Alan G Isaac alan.isaac at gmail.com
Wed Nov 30 08:00:08 EST 2011

On 11/30/2011 6:09 AM, Giovanni Plantageneto wrote:
> I find ConfigParser a bit low level, is there any function that
> automatically reads everything from a file?

You could just use a dictionary for your params,
and import it from your "configuration file".
If you insist on an ini format, ConfigParser/configparser
looks pretty good.

Alan Isaac

More information about the NumPy-Discussion mailing list