[IronPython] Engine Scope

JoeSox joesox at gmail.com
Sun Sep 7 22:45:03 CEST 2008


Perfect, thanks.


On Sun, Sep 7, 2008 at 1:04 PM, Michael Foord <fuzzyman at voidspace.org.uk> wrote:
> Hello JoeSox,
>
> If you look at the ArrayList documentation (URL below) you will see that
> although it lives in the System namespace, it comes from the
> mscorlib.dll assembly.
>
> You will have to add an additional reference in your Python code
> (ipy.exe adds references to both of these for you which is why your code
> works from the interactive interpreter).
>
> An alternative is adding the references to the assemblies from your
> hosting code using LoadAssembly.
>
> http://msdn.microsoft.com/en-us/library/system.collections.arraylist.aspx
>
> Michael



More information about the Ironpython-users mailing list