title: how to do shell navigation using python
body: <p>I want to cd to another directory with python which I want to execute this command on the shell its run in to navigate to the directory.</p>
  
  <pre><code>command = 'cd ../../../'  
  os.popen(command)  
  </code></pre>
  
  <p>this should navigate my shell to the new directory</p>