Beispiel #1
0
        public static string RunPythonFile(string fileName, string args)
        {
            string path = "\"" + System.Windows.Forms.Application.StartupPath + "\\Py\\" + fileName + "\" ";

            return(DOSPrompt.CMDAutomate(path + args, "C:\\python3.5\\python.exe"));
        }
Beispiel #2
0
 public string RunPython(string args)
 {
     return(DOSPrompt.CMDAutomate(args, "C:\\python3.5\\python.exe"));
 }
Beispiel #3
0
        private void RunPython(string args)
        {
            string s = DOSPrompt.CMDAutomate(args, Properties.Settings.Default.PythonPath);

            rtbConsole.Text = s;
        }