How do I run a Python script from C#?
This sort of question has been asked before in varying degrees, but I feel it has not been answered in a concise way and so I ask it again.
This sort of question has been asked before in varying degrees, but I feel it has not been answered in a concise way and so I ask it again.
Is there a way to call Python code, using IronPython I assume, from C#? If so, how?
I’ve written a class in python that I want to wrap into a .net assembly via IronPython and instantiate in a C# application. I’ve migrated the class to IronPython, created a library assembly and referenced it. Now, how do I actually get an instance of that class?
I think this is the most popular way to do it before: