[Python.NET] how to load and execute py file which consumes a thrid part C-based python extension in C# code
lizy10b
lizy10b at 126.com
Thu Mar 28 13:31:39 CET 2013
Hi there,
I am a freshman and new to python.net.
I have a *.py script which calls a third part python library, and the library is a ctypes python wrapper of a C++ dll (or say C-based python extension?).
Frist I tried to make it using IronPython. IronPython works well when I load a pure python *.py (no third part libraries) file and execute it in C# code.
But it failed when I load a *.py which comsumes a thrid part ctypes python wrapper library mentioned above.
Then I turn to python.net. But I don't know how to load and execute *.py in C# code using python.net.
Thanks.
Zhiyu Li
Student
China
2013-03-28
lizy10b
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythondotnet/attachments/20130328/fdeb5f86/attachment.html>
More information about the PythonDotNet
mailing list