title: Opening Idle with a python script
body: <p>I'm a windows user, and currently I have a simple script to launch all the programs I need while writing code.</p>
  
  <p>Its called setup.py. This is just two programs that it opens...</p>
  
  <pre><code>import sys, string, os
  os.chdir(r"C:\Program Files (x86)\Google\Chrome\Application")
  os.startfile(r"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe")
  os.chdir(r"C:\Python27\Lib\idlelib")
  os.startfile(r"C:\Python27\Lib\idlelib\idle.py")
  </code></pre>
  
  <p>When I run this program a shell window pops up, both Chrome and Idle launch, however the shell window stays open</p>
  
  <p>When I exit the shell window (<em>To make room in my task bar</em>) Idle closes and chrome stays open. I would like both to stay open.</p>
  
  <p>How can I do this?</p>
  
  <p><strong>EDIT</strong> 
  This probably has to do with the extension type <code>.exe</code> vs <code>.py</code>.. still not sure how to go about this though</p>
  
  <p>Not sure if the windows tag is relevant,. ask me to remove it and I will</p>