How to access the project root folder
<p>Below is a screenshot of my project. While I can access my <code>_files_inner</code> folder quite easily with <code>pd.read_csv("./_files_inner/games.csv")</code> I find it tricky to access my 'root' folder <code>_files</code></p>

<p>if you see my project explorer, I'm trying to access the <code>_files</code> but without specifying the absolute path (i.e., <code>C:\\Users\\adhg\\dev\\py\\_files\\games.csv</code>) because other developer have different path.</p>

<p>Question: how to access the root <code>_files</code> folder with something like this one (doesn't work)<code>pd.read_csv("./_files/games.csv")</code>: </p>

<pre><code>import pandas as pd

csv_result = pd.read_csv("./_files/games.csv")  #will not work
csv_result = pd.read_csv("./_files_inner/games.csv") #works 

print csv_result
</code></pre>

<p><a href="http://i.stack.imgur.com/wTz4c.png" rel="nofollow"><img src="http://i.stack.imgur.com/wTz4c.png" alt="enter image description here"></a></p>

<p><code>try using ../_files_inner/games.csv</code></p>

python eclipse