title: Python calling script without waiting for it to execute
body: <p>I want to know if there is any way to call a python script and just completely start that programe in a different thread so the main programe (caller) does not have to wait till the called script finishes executing. So far I've tried subprocess, and os.system but both of these two lag on until the script finishes executing.</p>
  
  <h1>main.py</h1>
  
  <pre><code>os.system('"F:\second.py"')
  //continue the rest of the code without waiting for second.py to finish
  </code></pre>
  
  <h1>second.py</h1>
  
  <pre><code>//do stuff
  </code></pre>