Wolfram Language

Use External Language Sessions

External language sessions can be created for a persistent session and to control the flow of evaluation. Evaluating using ExternalEvaluate instead of external language cells enables Python and Wolfram Language image-processing code to intermingle and create unique results.

Launch a new Python session programmatically.

Import the Pillow library within Python and use it to create an image that can be directly returned to the Wolfram Language.

Combine Python and the Wolfram Language to make something unique, by flipping images within Python and assembling the resulting images into one.

Related Examples

ja