IronPython.IronPython.RunFile C# (CSharp) Method

RunFile() public method

public RunFile ( String filename ) : void
filename String
return void
        public void RunFile(String filename)
        {
            var ipy = Python.CreateRuntime();
            dynamic test = ipy.UseFile("../PythonScripts/" + filename);
            test.main();
        }
IronPython