Integrate Python into Origin as a scripting language (ORG-9039)
LabTalk Script1run.Python(%(str$), #); // # = 16 for suppress dump output, 2 for file, 1 for expression, 0 for statement
Or,
LabTalk Script2run -py %(str$); // Run Python script run -pyf %(str$); // Run Python file
- Execution mode in Script Window to run Python scripts (ORG-10779)