The run_jsl() function enables Python to directly run JSL scripts, facilitating the use of JMP platforms, tools, and more within Python.
The following example opens a data table in JMP and sets the display width of two columns with the jmp.run_jsl() function.
import jmp
dt = jmp.open(jmp.SAMPLE_DATA + 'Big Class.jmp')
jmp.run_jsl('''
dt = Python Get(dt);
dt:name << Set Display Width( 150 );
dt:age << Set Display Width( 125 );
''')