Accessing SAMSON functionality via Python#
The Python Scripting extension gives you Python bindings for the SAMSON API together with an integrated Python console.
Use this page if you want to:
- write Python scripts that control SAMSON
- build small tools or apps directly in Python
- expose parts of your own extensions through Python bindings
Get started
You can use the SAMSON Python API in several ways:
- Write Python scripts utilizing SAMSON Python API, see Examples.
- Run Python scripts as part of your SAMSON Extensions via
SAMSON::runPythonCodeorSAMSON::runPythonFile. - Create apps fully in Python, see Embedded app: a simple GUI with buttons.
- Create Python bindings for your own SAMSON Extensions to expose their functionality in Python for others to use.
-
Learn about SAMSON Python API.
-
Examples of using the SAMSON Python API.