I am building a GUI using WPF on .NET Framework.I want to run python script (which uses modules like numpy, scipy ,etc) using C#. Now, I have two options.
- Process
p = new Process();
//by passing necessary parameters like "python.exe" and "filename.py" - Using IronPython
Using Method#1 is pretty much simpler but If I distribute this Application,then my End-User must have those python modules in the path specified by me in my Application. Using Method#2 I am facing problems with those python modules because they don't come with IronPython and I need DLL files of those modules. So is there any way to Convert Python Modules like numpy, scipy into DLL files?