title: Call Python from .NET
body: <p>I have some code written in Python which can not be transferred to a .NET language. I need to call one of these functions from my .NET WinForms application.</p>
  
  <p>Now, I do it by starting the Python script as a separate process and pass parameters to it as command line arguments. It works, but I don't really like this solution. I'd like to improve it to a better one.</p>
  
  <p>Is there any better way to call a function of a <code>.py</code> script from a .NET application? What is the best way to do it?</p>
  
  <p>Note: <strong>IronPython is NOT an option</strong> for this Python script</p>