I think this is all the IronPython interepreter loads:
ScriptDomainManager.CurrentManager.LoadAssembly(typeof(string).Assembly);
//mscorlib.dll
ScriptDomainManager.CurrentManager.LoadAssembly(typeof(System.Diagnostics.Debug).Assembly);
//System.dll
Srivatsn
__
Try "import clr" in your python script. I use Python 1.1 though..
Miha
On Feb 4, 2008 6:38 AM, Curt Hagenlocher <[EMAIL PROTECTED]> wrote:
> When I run IronPython interactively, I automatically get System.dllloaded:
>
>
> But when I run an IronPython script through the hosting api, I don't:
>
>
When I run IronPython interactively, I automatically get System.dll loaded:
PS f:\IronPython-2.0A8> *.\ipy.exe*
IronPython 2.0 Alpha (2.0.0.800) on .NET 2.0.50727.1433
Copyright (c) Microsoft Corporation. All rights reserved.
>>> *import System*
>>> *System.DateTime*
>>>
But when I run an IronPy