Python sys.path
<p>If I have the following file structure in python:</p>

<pre><code>    directory1
    ├── directory2
    │   └── file2
    └── file1
</code></pre>

<p>where directory 2 is a sub directory of directory 1 and assuming that neither is a package, how do I reference the file1 module from file2 assuming I am using sys.path? What import statement would I used in file 2 assuming I have x=1 in file 1 and i would like to print out the value of x in file2?</p>
