I converted the *.jnl into *.py file. I want to run this *.py file from python without opening abaqus. How can this be done?
Asked
Active
Viewed 539 times
-1
-
`python myfile.py`? – dspencer Mar 24 '20 at 13:09
-
or `python3 myile.py` for python 3 – Banana Mar 24 '20 at 13:14
1 Answers
0
Python scripts written to use the abaqus
module must be run with the Python distributed with the Abaqus install. You can do that a number of ways, and the preferred way usually depends on what your script is doing. Usually, you'll want to run Abaqus/CAE in noGUI mode:
abaqus cae noGUI=script.py

brady
- 2,227
- 16
- 18
-
-
Yes, the above command runs the script with the Python installed with Abaqus. You cannot run scripts that use the `abaqus` module with a standard Python install. – brady Mar 25 '20 at 21:12