DRAFT help

Scripting Guide > Python > Python Syntax Reference > jmp Package Functions
Publication date: 07/08/2024

jmp Package Functions

jmp.current()

Returns a DataTable object for the current JMP data table.

jmp.open('file_path')

Description

Opens the file located at 'file_path'.

Returns

If the file is a JMP file or a file that imports into a JMP data table, the object returned will be a DataTable object. Otherwise, jmp.open() will return True or False for success or failure.

Argument

'file_path'

The file path of the file to be opened.

jmp.run_jsl('JSL_script')

Description

Runs the provided JSL script from within the Python environment, including JSL’s Python interface functions.

Argument

'JSL_script'

A provided JSL script.

jmp.table('table_name')

Description

Returns a jmp.DataTable object for the opened table 'table_name'.

Returns

Returns the value of the named variable.

Argument

'table_name'

The name of the JMP data table to be returned.

Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).