Using Embedded Python Prerequisites Required Python Version 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 Bridging 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 Command from Embedded Python Exception Handling Bytes and Strings Standard Output and Standard Error Mappings Using Embedded Python in Interoperability Productions InterSystems IRIS Python Module Reference InterSystems IRIS Python Module Core API Global Reference API