.py from .pyc
Michael Hudson
mwh at python.net
Wed May 7 06:57:10 EDT 2003
"Sander Steffann" <sander at steffann.nl> writes:
> 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.
I have heard it commented that sometimes the decompyled code is easier
to read than the original source :-)
Cheers,
M.
--
at any rate, I'm satisfied that not only do they know which end of
the pointy thing to hold, but where to poke it for maximum effect.
-- Eric The Read, asr, on google.com
More information about the Python-list
mailing list