public void Init() { ScriptEngine engine = Python.CreateEngine(); PythonContext context = HostingHelpers.GetLanguageContext(engine) as PythonContext; membersFromSystemState = context.GetMemberNames(context.SystemState); sysModuleFromBuiltinModuleDictionaryObject = null; context.BuiltinModuleDict.TryGetValue("sys", out sysModuleFromBuiltinModuleDictionaryObject); }