Hi All,
I am looking for Python Interpreter to be compatible with my WPF Application, I need to support Python Scripts and execute the same, I have the working implementation of CINT (C/C++ Scripts),
Please find details below,
1. The Python Interpreter module(wrapper) should co-exist with CINT Interpreter.(To elaborate, I have Script Window building C/C++ Scripts (using CINT interpreter), but it should also be able to handle Python Scripts (using Python Interpreter).
2. Less restrictions on License T & C (preferably of BSD or LGPL nature).
Environ: Window 7 O/S, SP1, VS 2008 IDE
Thanks in Advance,
With Regards,
VishalK_89
解决方案With a console Python application, it is possible to start it as a child process using System.Diagnostics.Process.Start and redirect output streams StandardOutput and StandardError, please see the code sample with redirection here: http://msdn.microsoft.com/en-us/library/system.diagnostics.process.standardoutput.aspx[^].
However, this is a pretty awkward way of doing things.
For seamless integration, I would look at Python for .NET:
http://pythonnet.sourceforge.net/readme.html[^].
—SA