📜  从 c# 代码示例调用 python 脚本

📅  最后修改于: 2022-03-11 14:48:49.378000             🧑  作者: Mango

代码示例4
string strCmdText;
string file;
file = "py.py"
strCmdText= "python3" + file;
System.Diagnostics.Process.Start("CMD.exe",strCmdText);