Hello,
I want to use the embedding feature of ipy for implementing an ipy program as a windows service. I hope I can benefit from the good support of Visual Studio and C# for the installation of services (installUtil.exe).

My question is: is it possible to use pyc-compiled programs with the embedding features?

My plan is to code like this

    using IronPython.Hosting;
    using IronPython.Runtime;
    using Microsoft.Scripting.Hosting;
    ...

    ipyRt = Python.CreateRuntime()
    dynamic testPy = ipyRt.UseFile("program....py");
    ...
    testPy.function()

Is it possible to use compiled modules instead of "program....py" with .UseFile?

Thanks in advance
Peter

_______________________________________________
Ironpython-users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/ironpython-users

Reply via email to