[英]How to call Python script from SAS JMP environment using jsl script
I would like to run python script from SAS JMP environment using JSL. 我想使用JSL从SAS JMP环境运行python脚本。 What are the options?
有什么选择?
Please look at SAS communities - that would be better source of information. 请查看SAS社区 - 这将是更好的信息来源。
Some search shows that you can call python script from JSL. 一些搜索显示您可以从JSL调用python脚本。 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://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 https://community.jmp.com/t5/Discussions/Best-method-to-get-a-python-object-into-JMP/td-p/15158
This JSL works in my hands. 这个JSL在我手中工作。 (JMP 13.2)
(JMP 13.2)
x = RunProgram(
executable( "/Users/bywing/anaconda/bin/python" ),
options( "/Users//bywing//BasicIrisExample.py" ),
readfunction( "blob" )
);
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.