Kratos Course 2013
Before we start
Usually, the Python interpreter can be called from command line. To execute the commands in a file, lets say script.py, we can use the instruction
Exceptionally, for this course, we are using a non-standard python installation so, for today, download the following file  and copy it to your problem’s folder (for example, inside cylinder.gid)
To run a python script, on a command window, go to the model’s folder and type
First, we will create a new Python file to work on. To do this, we create a copyuse the default script (KratosOpenMP.py) to use as a starting point:
cp KratosOpenMP.py script.py
Open script.py on a text editor.