title: Python Code to Automate Abaqus Run Script
body: <p><a href="https://i.stack.imgur.com/bvdS1.png" rel="nofollow noreferrer">Error with Subprocess addition</a>
  <a href="https://i.stack.imgur.com/kvZQg.png" rel="nofollow noreferrer">This is the error I get regarding the abaqus module</a></p>
  
  <p>I'm quite new to python and so please don't mind if this question might seem silly.</p>
  
  <p>So I have python file that does the function of opening an abaqus viewer and I have another python file that describes the functions I want to do in the abaqus viewer.</p>
  
  <p>I need a piece of code that can automate the second script without me having to manually go into file>run script.</p>
  
  <p>Script to Open Abaqus: </p>
  
  <pre><code>import os
  import subprocess
  
  os.startfile('Q:/win_apps/scripts/simulia/Abaqus/6.14-3/Use_these_if_not_working/abq6143_viewer.bat')
  </code></pre>
  
  <p>And then I have a python script that has the code regarding my output requests from abaqus viewer. </p>
  
  <p>What line can I add to the above file to automatically take the second python script and run it?</p>