title: How to change directory from python script
body: <p>This code opens a new bash in need directory.</p>
  
  <pre class="lang-py prettyprint-override"><code>os.chdir(path)
  os.system("bash")
  </code></pre>
  
  <p>I want an exit from python script and stay in the bash console. But need to go to the directory.</p>
  
  <p>How does it?
  Help me, please.</p>