title: Running Pycharm from a relative path
body: <p>Assuming I have a project folder <code>C:\Project</code>.</p>
  
  <p>I have a python script that has to be run (in the terminal) as:</p>
  
  <pre><code># Switch to the root folder and run the script (script lies in C:\Project\examples\)
  cd C:\Project 
  python ./examples/script.py
  </code></pre>
  
  <p>However, inside Pycharm I am unable to figure out the configuration, as I always right-click on <code>script.py</code> and then debug, thus giving me relative path errors</p>
  
  <p>How do I reconfigure the project such that upon execution, it does exactly the way I do it in the command line?</p>