cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

Discussions

Solve problems, and share tips and tricks with other JMP users.
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****/

Recommended Articles