Origin provides embedded python environment, so that you can either run python in Origin (support both command line and .py file), or use a PyOrigin module to access Origin from Python.
The embedded Python in Origin could be either version 3.3.5 or version 2.7.8 and it can be switched by asystem variable @PYV. When @PYV = 3 (Default), the embedded Python is 3.3.5, while if @PYV = 2, it is 2.7.8. To set value for a system variable, click Tools:System Variables to open the Set System Variablesdialog.
Linked jira: ORG-10840
Sample Files Can Be Found in Product: \Samples\Python\
JIRA | Summary | Details |
---|---|---|
ORG-9039 | Integrate Python into Origin as a scripting language |
...
. |
Or
| ||||||||||
ORG-10903 ORG-11444 | Access Origin Objects from Python. Samples under Origin exe\Samples\Python\ folder. |
| |||||||||
ORG-11739 | Supported Version: Python 2.7 and 3.3 | By default we support Python 3.3, to switch the Python version to Python 2.7, please run the script below in Script Window
| |||||||||
ORG-10779 | Execution mode in Script Window to run Python scripts |
...
...