[IronPython] Did you find any purpose to compile IronPython code to DLL using pyc.py

Michael Foord fuzzyman at voidspace.org.uk
Fri May 4 14:31:09 CEST 2007


Max Belugin wrote:
> Thank you Michael, can you show me example of using that precomiled
> code? How to use those dlls from python or C#
>   
 From Python you just use the normal import statements. You can verify 
this by deleting the source files after compilation.

You can't use them directly from C# - but must write stub classes that 
call into the IronPython engine.

Michael

> On 5/4/07, Michael Foord <fuzzyman at voidspace.org.uk> wrote:
>   
>> We experimented with precompiling all of our code to see if it would
>> help with startup time.
>>     




More information about the Ironpython-users mailing list