Import object attributes as global variables
<p>I have a small python script which serves as a configuration file. The structure is like</p>

<pre><code>project=Project(param1=..., param2=..., ...)
project.add_plugins(P1(data=project.db1()),
                    P2(data=project.db2()))
project.run_plugins(get_selected())
</code></pre>

<p>For easier notation I'd like to introduce something like</p>

<pre><code>db1=project.db1
db2=project.db2
</code></pre>

<p>for all attributes of project, so that I don't need to write out <code>project.</code>. Can you suggest a nice way of doing that for all attributes automatically?</p>
