Using Embedded Python
- Introduction and Prerequisites
- Install and Import Python Packages
- Run Embedded Python
- From the Python Shell
- In a Python Script File (.py)
- In a Method in an InterSystems IRIS Class
- In SQL Functions and Stored Procedures
- Call Embedded Python Code from ObjectScript
- Use a Python Library
- Call a Method of an InterSystems IRIS Class Written in Python
- Run an SQL Function or Stored Procedure Written in Python
- Run an Arbitrary Python Command
- Bridge the Gap Between ObjectScript and Embedded Python
- Use Python Builtin Functions
- Identifier Names
- Keyword or Named Arguments
- Passing Arguments By Reference
- Passing Values for True, False, and None
- Dictionaries
- Lists
- Globals
- Changing Namespaces
- Running an ObjectScript Routine from Embedded Python
- Exception Handling
- Bytes and Strings
- Standard Output and Standard Error Mappings
- Use Embedded Python in Interoperability Productions
- Use the Flexible Python Runtime Feature
- Overview of the Flexible Python Runtime Feature
- Flexible Python Runtime Example: Python 3.11 on Ubuntu 22.04
- Flexible Python Runtime Example: Anaconda on Ubuntu 22.04
- InterSystems IRIS Python Module Reference