Since all you are telling it to do is run a script and you are looking to
capture it's output, I'd just use System.Diagnostics.Process to run
"python.exe" with the args "c:\\temp\\a.py". Then I'd use the returned Process
object's Output stream object to read the lines from it's standard output
Hi Oleksii & Sharon,
If you've done this before, would you share which I can get a console
window in embedded Python.Net and get the Python string output from C#?
Thank you,
Spark.
On Tue, Mar 1, 2011 at 1:33 PM, Oleksii Bidiuk wrote:
> Hi Sharon,
>
> I haven't found a way to run a console, bu
WOW. Now I got it. Thank you much for the kind explanation. Now it works as
charm in Console Application in Windows system.
In the meantime, if it is not console window application, how I can
see/capture the text output? (I know it will work but want to capture the
output)
Any idea?
On Thu, Apr