user6500904
user6500904

Reputation: 99

How can run a Python script from an Fsharp module

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

Answers (1)

Tom Atwood
Tom Atwood

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

Related Questions