예제 #1
0
 private void RunScript(string name) {
     PythonEngine engine = new PythonEngine();
     engine.SetVariable("window", mainWindow);
     engine.ExecuteFile(name);
 }