[Ironpython-users] importing .net assembly as module in a package

Jeff Hardy jdhardy at gmail.com
Fri Jan 11 17:02:47 CET 2013


On Fri, Jan 11, 2013 at 6:37 AM, Pawel Jasinski
<pawel.jasinski at gmail.com> wrote:
>
> hi,
>
>
> I am looking for a way to use module created as .net assembly as part of the package
>
> So instead of having:
>
> import clr
> clr.AddReferenceToFileAndPath(".\maplookup.dll")
> import maplookup
>
> I prefer:
>
> import clr
> clr.AddReferenceToFileAndPath(".\maplookup.dll")
> import xmldiff.maplookup
>
> Is there any way to accomplish it?

What is xmldiff? Is it an existing Python package?

Also, is maplookup just a .NET class, or is it actually a PythonModule class?

- Jeff


More information about the Ironpython-users mailing list