How to call Python script from SAS JMP environment using jsl script

I want to run a python script from a SAS JMP environment using JSL. What are the options?

+6
source share
2 answers

Look at the SAS community - it will be the best source of information.

Some search queries show that you can call a python script from JSL. Here are two examples:

https://communities.sas.com/t5/SAS-Communities-Library/Tip-How-to-execute-a-Python-script-in-SAS-Enterprise-Miner/ta-p/223761

https://community.jmp.com/t5/Discussions/Best-method-to-get-a-python-object-into-JMP/td-p/15158

+1
source

This JSL works in my hands. (JMP 13.2)

x = RunProgram( executable( "/Users/bywing/anaconda/bin/python" ), options( "/Users//bywing//BasicIrisExample.py" ), readfunction( "blob" ) ); 
0
source

Source: https://habr.com/ru/post/1013639/


All Articles