I would like to know if it is possible to execute a python script from C#, not with IronPython though since I want to use numpy and matplotlib, but I don't care about interacting with the script, I just want to trigger it.
Asked
Active
Viewed 94 times
0
-
Does this answer your question? [How do I run a Python script from C#?](https://stackoverflow.com/questions/11779143/how-do-i-run-a-python-script-from-c) – KennetsuR Apr 02 '21 at 06:18
-
You can use [Python.Net](https://github.com/pythonnet/pythonnet) to execute python scripts from .net process – JL0PD Apr 02 '21 at 06:24
-
The stackoverflow solution might work but I don't know what module to use(using;). As for Python.Net, it seems promising but does it support matplotlib as well? – Logothetis Apr 02 '21 at 07:46
-
@Logothetis we're using this library in our WPF application for scientists. Matplotlib, seaborn, tensorflow are working fine. It's just wrapper for native `python.dll`. – JL0PD Apr 02 '21 at 11:53