title: Hiding the console window after reading input
body: <p>I have a script that has a GUI, which takes user data and stores it into a text file. It runs another script (an .exe), which waits for user input and then does some work. What I want is for the latter script to hide its console window after reading input from the user, but to continue working in the background.</p>
  
  <p>I tried to run that script with <code>subprocess.call('lastscript.exe', shell=True)</code>or <code>subprocess.Popen('lastscript.exe', shell=True)</code>. This doesn't work. I have to take input from the user <strong>first</strong>, and then hide the console and let the program work in the background.</p>