[Ironpython-users] Fwd: Help with 2 issues embedding IronPython into C# app.

Chris Knaack chris40knaack at gmail.com
Wed Feb 4 04:47:19 CET 2015


---------- Forwarded message ----------
From: Chris Knaack <chris40knaack at gmail.com>
Date: Tue, Feb 3, 2015 at 10:35 PM
Subject: Help with 2 issues embedding IronPython into C# app.
To: users at lists.ironpython.com


I have figured out how to use Iron Python to implement a function in a py
file that is called from my C# program.  I am currently using the pyc
script to convert the script into a "dll".

I have to issues.

1)  The first time I execute my function, it is really slow to respond. Is
this the JIT start up for IronPython?  Can I ngen my pyc'ed py file?

2)  If I implement smaller helper functions in my py module and call them
from my function called from the C# app, I can step through it correctly in
VS2012 and see the correct behavior, however I am not able to use return
values from my helper functions?

Thanks for any insights you can share
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20150203/88cedece/attachment.html>


More information about the Ironpython-users mailing list