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

Re: [pygame] Reverse Compiling



On Wed, 8 Aug 2007, Richard Jones wrote:
> 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/

My apologies: I sent that link without completely reading the page -- I know 
the name "decompyle" from a tool that I've used in the past and just assumed 
that page had a download link somewhere.

It looks like the author of the decompyle software is now providing the 
decompilation as a business. My quick Googling doesn't show up any 
downloadable source though, which is a shame. It is packaged for Debian Linux 
though :)


    Richard