Call a Python file in a SML program?

一笑奈何 提交于 2019-12-12 05:26:33

问题


I was wondering if it is possible to call a python file in an SML program, and if so how can you do it? I have tried researching how to do this, but have only found documentation on how to call other SML files.


回答1:


I think OS.Process.system "python myscript.py" should work. See: http://sml-family.org/Basis/os-process.html



来源:https://stackoverflow.com/questions/43353918/call-a-python-file-in-a-sml-program

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!