[IronPython] Calling python script from c#

Dino Viehland dinov at exchange.microsoft.com
Tue Nov 28 11:29:10 PST 2006


Is libxml2 a pyd?  If so we currently don't support importing pyd's (it would require matching CPython's extension interface).  Instead you might be able to use the .NET XML libraries as a work around.

-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of miken
Sent: Monday, November 27, 2006 5:39 AM
To: users at lists.ironpython.com
Subject: [IronPython] Calling python script from c#

Hi,
 I'm trying to run a python script from c# using the executeFile
method.

The debugger seems to stop on an import statement (libxml2) :
 import libxml2

I did used AddToPath to add the related modules.

Is there another way to tell the CLR where the imported modules are?
Am I missing something else?

Thanx for your help.

--mike

_______________________________________________
users mailing list
users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


More information about the users mailing list