title: Python os.listdir() behaving strangely, need some explanation
body: <p>I am using python, with Anaconda on PyCharm IDE (windows 10), and using virtual environment. This is my code in question, </p>
  
  <pre><code>print('# File...')
  print(os.listdir("../MyData/Data/"))
  </code></pre>
  
  <p>When I run the code in console (right-click and then "Execute Section in Console") it works perfectly. However, as I run the entire code (from the green button) it says,  FileNotFoundError: [WinError 3] The system cannot find the path specified: '../MyData/Data/'</p>
  
  <p>Can someone please explain why is it happening, and a possible direction? Thank you.</p>