title: Pycharm does not see files in relative path with ../
body: <p>I am developing a python project using pycharm. However, the problem is that it refuses to load files in which the relative path includes <code>../</code>. When I try </p>
  
  <pre><code>self.image = pygame.image.load("../resources/img/prey.png").convert_alpha()
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>self.image = pygame.image.load("../resources/img/prey.png").convert_alpha()
  pygame.error: Couldn't open ../resources/img/prey.png
  </code></pre>
  
  <p>The thing is that when running my code from the terminal, it works fine, meaning that the problem is with pycharm.</p>
  
  <p>Now, the problem is that while this originally sounds like many of the other questions in which the directory is not part of the working directory,adding: </p>
  
  <pre><code>import os
  print os.getcwd()
  </code></pre>
  
  <p>from pycharm gives me <code>/media/Storage/System and dev/Code/Cross Platform/python/boids/current</code> </p>
  
  <p>which seems correct with my directory structure being:</p>
  
  <pre><code>./current
      ./resources
          ./img
              prey.png
      ./objects
          modules_that_I_import.py
      ./experiments
          code_that_I_actually_run.py
  </code></pre>
  
  <p>The code that runs <code>self.image=pygame.image.load("../resources/img/prey.png").convert_alpha()</code> is in <code>./objects</code></p>
  
  <p>I am using <code>Pycharm Community Edition 2016.1.2</code> on Linux Mint with <code>Python 2.7</code>.</p>
  
  <p>Any help is appreciated.</p>
  
  <p>EDIT</p>
  
  <p>when running <code>os.getcwd</code> from the command line I get <code>/media/Storage/System and dev/Code/Cross Platform/python/boids/current/experiments</code></p>