如何使用 jsl 脚本从 SAS JMP 环境调用 Python 脚本

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

我想 运行 python 使用 JSL 从 SAS JMP 环境编写脚本。有哪些选择?

请查看 SAS 社区 - 这将是更好的信息来源。

一些搜索显示您可以从 JSL 调用 python 脚本。这里有两个例子:

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

这个 JSL 在我手中工作。 (JMP 13.2)

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