title: Python run script after other script is finished
body: <p>I have three python scripts: <code>schedule.py</code>, <code>script1.py</code> and <code>script2.py</code>.</p>
  
  <p>I want to start running <code>script1.py</code> and <code>script2.py</code> by <code>schedule.py</code>. Moreover, I want to run <code>script1.py</code> first, and then activate <code>script2.py</code> after <code>script1.py</code> has finished. </p>
  
  <p>I found a similar question <a href="https://stackoverflow.com/q/25107089/7326714">here</a>, but I think this person wants to do this via Terminal, or a similar program. I want to do this via Python.</p>
  
  <p>For the moment, I have, </p>
  
  <pre><code>import script1.py
  import script2.py
  </code></pre>
  
  <p>How do I go about?</p>