title: In python os.chdir() is not working with relative path
body: <p>I want to change the working directory in python using os.chdir() from the current project folder to an existing folder in the project folder but it shows a file not found error.</p>
  
  <pre><code>import os
  
  print(os.getcwd())
  
  os.chdir("../NewDirectory/") #Error here
  
  print(os.getcwd())
  </code></pre>
  
  <p>I expected an output:</p>
  
  <pre><code>C:\Users\John Doe\PycharmProjects\untitled
  C:\Users\John Doe\PycharmProjects\untitled\NewDirectory
  </code></pre>
  
  <p>But I got the result:</p>
  
  <pre><code>C:\Users\John Doe\PycharmProjects\untitled
  
  Traceback (most recent call last):
    File "C:/Users/John Doe/PycharmProjects/untitled/miketest.py", line 5, in &lt;module&gt;
      os.chdir("../NewDirectory/")
  FileNotFoundError: [WinError 2] The system cannot find the file specified: '../NewDirectory/'
  </code></pre>