[Python.NET] Embedded scripting

Amod Kulkarni amod.kulkarni at neilsoft.com
Wed Dec 29 13:28:53 CET 2004


Hi,

I am new to PythonNet and am experimenting a little bit with it. Basically I
am trying to call python function from C# code with the help of
Python.Runtime DLL.
I was able to import a python module in C# and call one of its functions.
But this works fine only when the module supplied to
PythonEngine.ImportMOdule() function is physically existing. What if I want
to import a module that does not physically exist but is merged in some
other application’s EXE? Is there any way to load such a module using
PythonEngine.ImportMOdule()?

Thanks in advance.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythondotnet/attachments/20041229/23091829/attachment.htm


More information about the PythonDotNet mailing list