DRAFT help

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

jmp Package Constants

The JMP package offers the following constants for accessing common file paths used by JMP as well as version numbers for JMP and the JMP package for Python.

File path constants are written in upper case, a convention familiar for Python constants.

jmp.__jmp_version__

Description

Returns the version number of the currently running instance of JMP.

jmp.__version__

Description

Returns the version number of the JMP package for Python.

jmp.ALL_HOME

Description

Returns the file-path referred to by JMP’s $ALL_HOME path variable.

jmp.BUILTIN_SCRIPTS

Description

Returns the file-path referred to by JMP’s $BUILTIN_SCRIPTS path variable.

jmp.DESKTOP

Description

Returns the file-path referred to by JMP’s $DESKTOP path variable.

jmp.DOCUMENTS

Description

Returns the file-path referred to by JMP’s $DOCUMENTS path variable.

jmp.DOWNLOADS

Description

Returns the file-path referred to by JMP’s $DOWNLOADS path variable.

jmp.HOME

Description

Returns the file-path referred to by JMP’s $HOME path variable.

jmp.PY_USER_APPDIR

Description

Returns the file-path to the user directory location acting as the base of JMP’s Python support. The site-packages directory is within this directory hierarchy.

jmp.PYTHON_EXE

Description

Returns the file-path to the JMP installed Python executable.

jmp.SAMPLE_APPS

Description

Returns the file-path referred to by JMP’s $SAMPLE_APPS path variable.

jmp.SAMPLE_DASHBOARDS

Description

Returns the file-path referred to by JMP’s $SAMPLE_DASHBOARDS path variable.

jmp.SAMPLE_DATA

Description

Returns the file-path referred to by JMP’s $SAMPLE_DATA path variable.

jmp.SAMPLE_IMAGES

Description

Returns the file-path referred to by JMP’s $SAMPLE_IMAGES path variable.

jmp.SAMPLE_IMPORT_DATA

Description

Returns the file-path referred to by JMP’s $SAMPLE_IMPORT_DATA path variable.

jmp.SAMPLE_PROJECTS

Description

Returns the file-path referred to by JMP’s $SAMPLE_PROJECTS path variable.

jmp.SAMPLE_SCRIPTS

Description

Returns the file-path referred to by JMP’s $SAMPLE_SCRIPTS path variable.

jmp.TEMP

Description

Returns the file-path referred to by JMP’s $TEMP path variable.

jmp.USER_APPDATA

Description

Returns the file-path referred to by JMP’s $USER_APPDATA path variable.

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