Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Jira Legacy
serverJIRA (originlab.jira.com)
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverIdde9745f4-6a46-3986-b6b4-6ec476a4c732
keyORG-10840

Sample File to download to try:  Python_Sample_Files.zip


  1. Integrate Python into Origin as a scripting language (ORG-9039)

    Code Block
    titleLabTalk Script1
    run.Python(%(str$), #); // # = 32(or 33) for setting file path, 16 for suppress dump output, 2 for file, 1 for expression, 0 for statement

    Or,

    Code Block
    titleLabTalk Script2
    run -py %(str$);  // Run Python script
    run -pye %(str$); // Evaluate Python Expression
    run -pyf %(str$); // Run Python file


  2. Execution mode in Script Window to run Python scripts (ORG-10779)


  3. Access Origin in Python by PyOrigin module.

...