public static void InitializeEngine(PythonEngine engine) { GetStdEnv(engine.DefaultModule.Globals); engine.Sys.DefaultEncoding = Encoding.UTF8; CompiledCode code = engine.CompileFile(Path.Combine(Core.LibDirectory, "initialize.py")); code.Execute(); }