Advanced

Developer Tutorial: New Python Integration and Scripting Capabilities in JMP 18

Application Area:
Automation and Scripting

This session is for JMP users familiar with Python and who want to utilize Python as a bridge between JMP and Python scripts and packages. 

JMP 18 Python integration provides a consistent, full-featured, integrated development environment for writing and executing Python scripts within JMP. Python scripts can now be opened and run directly from a Python-aware JMP script editor window. The editor supports syntax highlighting, an embedded log, and the ability to run pure Python scripts directly from the editor, making it as easy to write and run Python scripts as JMP (JSL) scripts.

A complete, isolated and embedded Python 3.11 is installed as part of JMP 18, ensuring a consistent and testable JMP/Python environment. No configuration is needed to launch Python scripts. A built-in jmp package provides live access to JMP data tables and columns. The package gives the ability to directly view, edit, and manipulate JMP data tables from Python without making a copy or having to export through the file system. Python output goes to the JMP log. Additionally, external Python packages can be installed into the JMP isolated environment, greatly expanding capabilities. Integration includes a Python category within the JMP Scripting Index documenting the new features and the internal import jmp package.

The key JMP Developer of this integration will explain the new Python-centric features and environment options, and demonstrate how to use the new integration to enhance ease of use and productivity for Python programmers. He will show how to access JMP data tables directly from Python, create JMP data tables from Python data sources, and discuss and demonstrate the greatly enhanced output to the JMP log. The session includes time for Q&A.

This JMP Developer Tutorial covers: installing and managing external Python packages in the JMP environment, importing special data, using the integrated Python script editor, running JSL from within Python scripts to execute functionality not yet present in the Python support, and calling Python from JSL. 

Live webinars on many topics are offered throughout the year. See the list and register in the JMP User Community.