问题
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