I have the following problem: I have an old application written in python. This application allows the user to specify small python steps that will be executed, python steps are basically small python scripts, I call them steps, because the execution of this application includes other steps, such as executing something from the command line. These python steps are stored as python code in an XML file.
Now I want to rewrite the application using C # .NET. Is there a better solution to do something like this?
I don't want to call python as an external program and pass the actual python step (script) to the python interpreter - I want something to be embedded. I just stumbled across Python on IronPython and .NET, but I'm not quite sure which one to use. I want to achieve some debugging for small scripts, so calling the interpreter is not acceptable.
More importantly, many of these scenarios already exist. So I have to use the C # implementation for python, which has the same syntax as python, as well as the same built-in python libs. Is it possible?
Thank you and welcome Xeun
source share