Launch python script with abaqus command
<p>I have a command file (.cmd) which I use to launch Abaqus command line windows.
Then, I use the command 'abaqus python test.py' to launch python command inside Abaqus. </p>

<p>Now, I would like to use a python script to do that.
I try something like this but doesn't work. Someone know the trick ?</p>

<p>Thanks !!</p>

<pre><code>import subprocess

AbaqusPath=r"C:\Abaqus\script\abaqus.cmd"
args= AbaqusPath + "-abaqus python test.py"
subprocess.call(args)
</code></pre>