Salome HOME
Merge branch 'V8_4_BR'
[modules/gui.git] / doc / salome / gui / input / working_with_python_scripts.doc
1 /*!
2
3 \page python_interpreter_page Python Interpreter
4
5 \b SALOME Platform can be launched in the batch mode, without Graphical
6 User Interface, and operated with the use of Python scripts, which can
7 fulfill most of the necessary tasks, however, the process of scripting
8 is quite time consuming and rather error-prone.
9 \n This problem has been resolved by the possibility to automatically
10 generate a set of Python scripts from data created with SALOME GUI,
11 which greatly increases the productivity of using SALOME platform in
12 the batch mode. This mechanism can convert a SALOME Study in one or
13 several Python scripts, which can be stored and imported later to
14 re-create the content of the original study. The first script is a
15 SALOME document, which re-creates the SALOME Study, adds the
16 stored Salome components to the SALOME and automatically calls
17 Python scripts of the second type containing component specific Python
18 function calls. This architecture gives great flexibility in manual
19 modification of the generated scripts because you can modify only one
20 of the component specific Python scripts without touching others, thus
21 avoiding expert knowledge of Python API of unused components.
22
23 To Dump a  SALOME Study in one or several scripts, in the main menu
24 select \b File --> <b>Dump study</b>.
25 Reversibly, it is possible to load a saved Python Script selecting in
26 the main menu \b File -> <b>Load Script</b>.
27
28 */