[Python.NET] Using an existing Python installation
Brian Lloyd
brian at zope.com
Tue Nov 4 19:20:38 EST 2003
> So this fails:
>
> from CLR.System.Reflection import Assembly
> Assembly.LoadWithPartialName('SomeNamespace')
> import CLR.SomeNamespace as SomeNamespace
>
> But this works:
>
> import CLR
> from CLR.System.Reflection import Assembly
> Assembly.LoadWithPartialName('SomeNamespace')
> import CLR.SomeNamespace as SomeNamespace
Hi Mike - yes, I've already got this one in the bug hopper for
b2. It has to do with the trickery I'm using to install the
import hook not being quite tricky enough when it happens in
an already-running interpreter.
Brian Lloyd brian at zope.com
V.P. Engineering 540.361.1716
Zope Corporation http://www.zope.com
More information about the PythonDotNet
mailing list