importing files residing in an unrelated path
<p>Consider I have a directory called <code>root</code> that has two directories: <code>x</code> and <code>y</code>. I have a module file that resides in <code>x</code>, let us call that <code>test.py</code>. Now in <code>y</code>, I have a module that needs to call <code>test.py</code></p>

<p>I am doing a simple:</p>

<p><code>from x import test</code></p>

<p>And it works. I was wondering, how this works? </p>

<p>EDIT: How it works, as in there was no <code>__init__.py</code> file in <code>x</code>, but yet from <code>y</code> I was able to call a module from there.</p>
