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

Alan G Isaac alan.isaac@gmail....
Wed Nov 30 07:00:08 CST 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.

fwiw,
Alan Isaac


More information about the NumPy-Discussion mailing list