[Numpy-discussion] Reading automatically all the parameters from a file
Wed Nov 30 12:49:34 CST 2011
My suggestion is: don't.
It's easier to script runs if you read parameters from the command line.
I recommend argparse.
Giovanni Plantageneto wrote:
> Dear all,
> I have a simple question. I would like to have all the parameters of a
> model written in a configuration file (text), and I would like to have
> all the parameters in the file automatically defined inside a program.
> I find ConfigParser a bit low level, is there any function that
> automatically reads everything from a file?
More information about the NumPy-Discussion