Exemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            var oHelper = new PythonHelper(@"X:\D\study2\Python\pythonTest\test.py");
            var result  = oHelper.CallFun("Test1", 3, 4);

            txtMain.Text = Convert.ToString(result);
        }
Exemplo n.º 2
0
        private void btnCallFun2_Click(object sender, EventArgs e)
        {
            var oHelper = new PythonHelper(@"X:\D\study2\Python\pythonTest\test.py");

            oHelper.CallFun("Test2");
        }