that clr.AddReference('System') is required to
import System. Can I handle the adding of the reference in the
construction of the engine instance and if so, how?
Thanks,
Jesse Wiles
___
Users mailing list
Users@lists.ironpython.com
http://lists
ollection symbols = new SymbolDictionary();
symbols[Symbols.Name] = "__main__";
ScriptScope scope = engine.CreateScope(symbols);
scope.SetVariable("MyFooHash", new Dictionary());
engine.ExecuteFile(this.mPathTextBox.Text, scope);
Thanks,
Jesse Wiles
_
We are currently using IronPython as a hook for scripting our .NET
application.
This is extremely valuable since, to my knowledge, there is no other
comparable
facility for this purpose in .NET.
On 2006-11-23 15:25:04 -0500 Fredrik Lundh <[EMAIL PROTECTED]>
wrote:
> Ken Manheimer wrote:
>
>>
Hi,
Can I script XSL extension objects using Iron Python?
Jesse Wiles
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
(VarScriptsDir,
"configuration.xml");
EngineModule VarMainModule = VarEngine.CreateModule("__main__",
ParamGlobals, true);
VarEngine.ExecuteFile(ParamScriptPath, VarMainModule);
}
and here's the contents of my Lib/site.py:
import s
e never create a __main__ module for you). How is it not evaluating
properly? Are we thinking we’re in main or not in main?
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Jesse
Wiles
Sent: Wednesday, August 30, 2006 7:51 AM
To: Discussion of IronPython
Subject:
Hi,
I'm running into a problem where if __name__ == '__main__' is not
evaluating properly when using PythonEngine from my assembly. Is this
a known issue?
Thanks,
Jesse Wiles
___
users mailing list
users@lists.iron