Import a bunch of parameters as a dictionary?
<p>I want to put all the parameters of my code in a parameter file (parms.py), so that everything I may need to tweak later will be at the same place. What would be the best way to import just the parameters I want, to save some work?</p>

<p>I was thinking of grouping my parameters in dictionaries; is that the Pythonic way? I think the code will look funny, using the parameters like: <code>parms_dict('parameter1')</code></p>

<pre><code>from parms.py import * # import lots of useless parameters (should I worry about that?)
</code></pre>

<p>or</p>

<pre><code>from parms.py import parameter1, parameter2, parameter3, parameter4, parameter5, parameter6, parameter7 # That way can get very long and ugly (should I worry about that?)
</code></pre>

<p>Any better suggestions/comments? </p>
