Scripting Guide > Python > Working with JMP Data Tables > Using JSL Commands in the Python Script Editor
발행일 : 03/10/2025

Using JSL Commands in the Python Script Editor

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 );
''')
더 많은 정보를 원하십니까? 질문이 있습니까? JMP 사용자 커뮤니티에서 답변 받기 (community.jmp.com).