string strCmdText; string file; file = "py.py" strCmdText= "python3" + file; System.Diagnostics.Process.Start("CMD.exe",strCmdText);