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 Package
- 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
- Call InterSystems IRIS from Embedded Python
- Use the iris Module
- Use an InterSystems IRIS Class
- Use InterSystems SQL
- Run an Arbitrary ObjectScript Command
- Bridge the Gap Between ObjectScript and Embedded Python
- Access an InterSystems IRIS Class
- Refer to the Current InterSystems IRIS Class
- Use ObjectScript and Python Identifier Names
- Use Python Builtin Functions
- Use Keyword or Named Arguments
- Pass Arguments By Reference
- Pass Values for True, False, and None
- Use Dictionaries
- Use Lists
- Use Globals
- Change Namespaces
- Run an ObjectScript Routine from Embedded Python
- Handle Exceptions
- 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