Reputation: 99
While writing a fsharp module I realized the need to make a call to a python script. - Cannot switch my fsharp module to python it'll break established infrastructure - Cannot move the python functionality to fsharp, as it wouldn't be possible to convert all the nuances/efficiency of the code.
Any recommendations on how to call a python script from a fsharp module, passing in a couple of parameters (string values) and getting back a string value response?
Upvotes: 5
Views: 1332
Reputation: 478
Try out the Nuget package Python for .NET. The Nuget link is here: https://www.nuget.org/packages/pythonnet/2.3.0-py35-dotnet and includes links to the project on github.
Upvotes: 3