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? > Thanks. _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion