title: Python - Get path of root project structure
body: <p>I've got a python project with a configuration file in the project root. 
  The configuration file needs to be accessed in a few different files throughout the project. </p>
  
  <p>So it looks something like: <code>&lt;ROOT&gt;/configuration.conf</code> 
  <code>&lt;ROOT&gt;/A/a.py</code>, <code>&lt;ROOT&gt;/A/B/b.py</code> (when b,a.py access the configuration file). </p>
  
  <p>What's the best / easiest way to get the path to the project root and the configuration file without depending on which file inside the project I'm in? i.e without using <code>../../</code>? It's okay to assume that we know the project root's name.</p>