Python-list Digest, Vol 41, Issue 286
Paul Boddie
paul at boddie.org.uk
Tue Feb 20 10:33:48 EST 2007
On 20 Feb, 11:59, KoDer <koder.m... at gmail.com> wrote:
> > Subject: Can I reverse eng a .pyc back to .py?
[...]
> https://svn.cs.pomona.edu/sys/src/konane/pyunparse.py
>
> Need add new AST nodes if You want to use it with python2.5.
The above code seems to need to parse a source file, since it uses the
compiler module's parse function. Something like decompyle would be
more appropriate for reverse engineering purposes:
http://packages.qa.debian.org/d/decompyle.html
Paul
More information about the Python-list
mailing list