1
Vote

IronPython 2.6 not finding a .pyc file.

description

I'm very new to IronPython. I was able to download v2.6 and call some basic functions from C#. The problem I have is that one function imports a .pyc module provided by a third-party. So there is no .py available.
 
Is there a solution for IronPython to work with modules ( .py ) that references another module that is .pyc format? If so, could you provide how to?
 
Thanks in advance.

comments

slide_o_mix wrote Aug 26, 2012 at 4:13 PM

ironpython does not currently support pyc files.

shaggygi97 wrote Aug 26, 2012 at 6:18 PM

well blame! do you know if there are plans to add this?

thanks for the help.

CurtHagenlocher wrote Aug 27, 2012 at 1:16 AM

If you use a search engine, you can find various options to try. For example, I found
http://stackoverflow.com/questions/48211/free-python-decompiler-that-is-not-an-online-service?rq=1

slide_o_mix wrote Aug 27, 2012 at 1:59 AM

I am looking at supporting byte code execution for a future version.

MarkusSchaber wrote Aug 27, 2012 at 7:11 AM

pyc files are implementation version dependent - even cPython does not allow pyc files to be re-used across different versions.