.py from .pyc

Sander Steffann sander at steffann.nl
Tue May 6 16:07:58 EDT 2003


Hi,

> > A friendly soul pointed me to
> > http://www.crazy-compilers.com/decompyle/. That might be the fastest
> > way to glory.
>
> There was a posting a few months back to the effect that this has not
> been maintained, and will not work without substantial changes when used
> on a .pyc for Python 2.2 (or maybe even 2.1, or 2.0).
>
> If that's not true, a correction posted here would be helpful to others...


The beta version (2.2beta) on that website seems to work for my Python 2.2
.pyc files. I haven't tested it extensively, but the results looked very
usable. Of course you will never get your source-code comments back, but
that is just a small detail compared to rewriting the whole source code :)

Good luck,
Sander.






More information about the Python-list mailing list