Re: [Python.NET] Would you share your idea how to call python command from embedded Python.Net?

2013-04-01 Thread Seungweon Park
Also wrote a simple console application using Python.Net, But PythonEngine.RunString() returns 'null' so I got error. namespace npythontest { class Program { static void Main(string[] args) { PythonEngine.Initialize(); IntPtr gs = PythonEngine.Acqui

Re: [Python.NET] Would you share your idea how to call python command from embedded Python.Net?

2013-04-01 Thread [email protected]
Yes it is supposed to work. But I'd point out that there is a big difference between the statements: print 2+3 and 2+3 What exactly would you expect to get back as a return from the print statement? On Apr 1, 2013, at 2:00 PM, Seungweon Park wrote: > Hi, > > I've been played with Python.Ne

[Python.NET] Would you share your idea how to call python command from embedded Python.Net?

2013-04-01 Thread Seungweon Park
Hi, I've been played with Python.Net for a week, but I can't find any sample to use Python.Net in embedded way. I've searched many threads from the previous emailing list, the result are not consistent, and looks like no solution ??. What I'm trying to do is that I want to get result (po) from C#