C-sharp calls python3 program

private void button3_Click(object sender, EventArgs e)
        {
            Process p = new Process();
            string path = @"H:\src\wel.py";
            p.StartInfo.FileName = @"E:\Python\Python36\python.exe";
            p.StartInfo.Arguments = path;
            Console.WriteLine(path);
            p.StartInfo.UseShellExecute = false;
            p.StartInfo.RedirectStandardOutput = true;
            p.StartInfo.RedirectStandardInput = true;
            p.StartInfo.RedirectStandardError = true;
            p.StartInfo.CreateNoWindow = true;
p.Start();

first contact with python sharp, because it is convenient, so I want to use it as a GUI, to call the sharp program.

Baidu has learned that there is a way to start python with a process.

but why can"t I use mine?

clicked the button and there was no reaction

Jul.12,2021
Menu