arizq29
arizq29

Reputation: 11

Call a Python file in a SML program?

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

Answers (1)

Alejandro C.
Alejandro C.

Reputation: 3801

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

Upvotes: 4

Related Questions