It makes some assumptions about the nomenclatureJMP_to_python_Example used when python saves a file. Next, the code makes some default paths that you pass into the python script you're executing. The script starts by prompting the user to specify whether or not they want to load the data after compiling, since sometimes you don't really want to view the data you've processed/compiled right away.Īfter this, you select a folder where you'll save a copy of your compiled data with a time stamp prefix attached (automatically created) Here, we will go over the basic flow of the JMP_to_Python_Example_v1_Main_Script.jsl script. The add-in let's you see a the final package works once you compile everything into a self-contained add-in. Open the JMP_to_Python_Example_v1_Main_Script.jsl script and press run.Install the add-in JMP_to_python_Example.jmpaddin and run by going to your JMP add-in drop-down menu.There are 2 ways you can use this example: For windows using "python" should work fine, though I haven't tested it on any other windows systems except my own remote desktop. For mac, it tries to look in the two locations people typically install anaconda 3 to. jsl file JMP_to_python_Example.jsl contains the variable "python_executable" which tells JMP where your python executable is stored. The scripts were built using JMP 14 and Python 3.6 Simple example showing efficient framework for using JMP to execute python & visualize in JMP Setup Details
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |