Skip to content

Home > User Interface > Analyses > Analysis Sets Data > Python Scripts

Python scripts

Python is a clear and powerful object-oriented programming language which is embedded into the user interface to provide a programmable interface. Python scripts can be included in the user interface to adapt the content of the LOG input files.

Python scripts may be setup by clicking the Edit button in the Analysis Set form.

Note

Python scripts can be used to modify and adapt the content of LOG files only while they are being generated by the user interface through Analysis Sets. Python does not allow programming the user interface to create or modify model components in your model.

Note

To simplify the use of Python scripts, a python version in the exact required version (3.8) is included in the setup and triggered when any Python need is required, users do not have to check the Python installation before using DeepLines.

This section provides information on the following items:

  • Applications: This topic discusses what you can do (and what you cannot do) using Python scripts.

  • List of Python functions: Series of external Python functions have been developed to allow reading and updating the content of any LOG files. This topic provides details on these functions along with examples.