[Tutor] Creating an uncompile module?
Kent Johnson
kent37 at tds.net
Wed Apr 8 19:52:13 CEST 2009
On Wed, Apr 8, 2009 at 1:23 PM, Muneeb Akhter <mebooakhter at yahoo.com> wrote:
> I am registered on your list serv. so I geuss I could get some help on a
> personal project that will read bytecode for python 2.6 and spit out the
> original code or atleast the steps. Does something like this already exist
> (must be something very similar)? Or could you give me some information of
> how the code is compiled?
If you google "python decompiler" you will find an older decompile
that does not work on 2.6 and perhaps a commercial version that is
up-to-date.
The python bytecodes are described here:
http://docs.python.org/library/dis.html#python-bytecode-instructions
Kent
More information about the Tutor
mailing list