Nata
Nata

Reputation: 11

How can run a Fsharp script from an Python module

Any recommendations on how to call an F# script from a Python module? Any suggestion would be appreciated.

Please note that I cannot switch my F# module to Python, or move the Python functionality to F#.

Upvotes: 1

Views: 190

Answers (1)

FailureGod
FailureGod

Reputation: 382

If you can run your fsharp script from the command line then you can user pythons subprocess module to run it using Popen.

Upvotes: 2

Related Questions