[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Reverse Compiling



On Wed, 8 Aug 2007, Ian Mallett wrote:
> I was backing up my files onto a CD when I ironically deleted an original
> .py file for a module leaving the .pyc version.  My question here, is can
> you reverse compile it?  I want to make some changes.

[odd, with all that noise no-one has actually answered your question...]

Yes, you can decompile a Python .pyc or .pyo module using "decompyle":

      http://www.crazy-compilers.com/decompyle/


    Richard