cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
darshanhira
Level II

Darshan Hiranandani - How can I transfer a variable value from JMP into Python?

Hi, Hey everyone, I am Darshan Hiranandani, I am looking for some advice on transferring a variable value from JMP into Python. Does anyone have any suggestions on how to achieve this?

2 REPLIES 2
txnelson
Super User

Re: Darshan Hiranandani - How can I transfer a variable value from JMP into Python?

the Python Send() function will pass a JMP Variable to Python

Here is an example

Names Default To Here( 1 );

x = 2;
Python Send( x );
Python Submit( "print(x)" );

See the JMP Help webpages and the Scripting Index for further documentation.

If you are running JMP 18, there is an embedded installation of Python which allows Python programs to be run in conjunctions with JMP.  

 

Jim

Re: Darshan Hiranandani - How can I transfer a variable value from JMP into Python?

hi, 

txnelson is right as always  

for the JMP 18 way a look into the documentation is also an option: 

https://www.jmp.com/support/help/en/18.0/#page/jmp/python-name-and-python-send-examples.shtml 

/****NeverStopLearning****/