The right way to share settings among modules
<p>I have a project with 10 different python files. It has classes and functions - pretty much the lot.
I do want to share specific data that will represent the settings in the project between all the project files.</p>

<p>I came up with creating a <code>settings.py</code> file:</p>

<pre><code>settings = {}
settings['max_bitrate'] = 160000
settings['dl_dir'] = r"C:\Downloads"
</code></pre>

<p>and then I import the class from every file.</p>

<p>Is there a more suitable way to do it?</p>
