Reputation: 11
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.
Upvotes: 0
Views: 308
Reputation: 3801
I think OS.Process.system "python myscript.py"
should work. See: http://sml-family.org/Basis/os-process.html
Upvotes: 4