I have written a python file which I want to use in a C# application ,but I Don't want having to install python and dependencies every time I run it in a new computer, so I want to compile it to an .exe, pass the parameters to it, and get the output.
my code file looks something like this:
import ...
import ...
def function(parameter):
....
how do I pass the parameter to the function, and recieve the function's output?