About PythonEngine.RunString
Jan. 23, 2006
8:09 a.m.
Hello All! I'm new in C#. Now I try embed Python in my C# prog. I wrote public partial class Form1 : Form { PyObject m; string ans="none"; public Form1() { InitializeComponent(); PythonEngine.Initialize(); m =PythonEngine.RunString("2+3"); ans = m.ToString; <- How i can eval answer from RunString?! label1.Text = ans; } when i debug and see the m variable - watch say m=Null why?! what i'm doing wrong?! Thanks! }
7350
Age (days ago)
7350
Last active (days ago)
0 comments
1 participants
participants (1)
-
Eugene