Re: parameter files

2006-09-14 Thread Russ
Thanks for the examples. I don't think you understood what I meant by a "run." All I meant is that I want to save the configuration, for reference purposes, that was used for a particular run. That way I can reproduce the results if necessary, and I can avoid confusion about which parameters were

Re: parameter files

2006-09-13 Thread Gabriel Genellina
At Thursday 14/9/2006 01:10, Russ wrote: > I would try a configuration file, instead of a python module. > See ConfigParser: > . > You can save values for each "run" in a separate [section]. > Execfile is a pretty big hammer for this. Hey, th

Re: parameter files

2006-09-13 Thread Russ
> I would try a configuration file, instead of a python module. > See ConfigParser: > . > You can save values for each "run" in a separate [section]. > Execfile is a pretty big hammer for this. Hey, that looks interesting, but those docs don't

Re: parameter files

2006-09-13 Thread gry
Russ wrote: > I have a python module (file) that has a set of parameters associated > with it. Let's say the module is called "code.py." I would like to keep > the parameter assignments in a separate file so that I can save a copy > for each "run" without having to save the entire code.py file. Let

parameter files

2006-09-13 Thread Russ
I have a python module (file) that has a set of parameters associated with it. Let's say the module is called "code.py." I would like to keep the parameter assignments in a separate file so that I can save a copy for each "run" without having to save the entire code.py file. Let's say the parameter