Content Type
Exercise
Duration
45m
Level
Introductory
Explore ways of using Embedded Python in InterSystems IRIS® data platform. Python is a popular and server-side programming languages that is beginner-friendly but also home to an advanced ecosystem of open-source libraries. With Embedded Python, you can:
- Run Python commands from the native context of InterSystems IRIS.
- Run a Python shell within the InterSystems Terminal.
- Save Python scripts as packages on the InterSystems server.
- Access all of your objects and data using InterSystems ObjectScript or Python.
- Write an InterSystems class method in Python.
In this exercise, you will explore an expense-tracking application that uses open-source Python libraries to parse images of receipts, calculate currency conversions, store receipt data in an InterSystems® database, and expose an API to plot total weekly expenses.
Learning Objectives
- Compare the use cases for the three different modes of Embedded Python.
- Compare the usage of Python and ObjectScript packages.
- Create a receipt-processing application utilizing ObjectScript and Embedded Python.
Watch the video and try the exercise below!