Extracting bytecode out of frozen programs

David Kraeutmann python-list at davidkra.net
Sun Feb 8 15:38:22 EST 2009

I need to extract the modules/packages out of a frozen script. It was
compiled using Python 2.2.3 and the standard freeze.py.
I managed to get a shell after execution using PYTHONINSPECT=y and find
the start of a module/package using a hex editor (I got the sta, but
these modules don't seem to be importable.
Is there a way of extracting them so they are importable in a python shell?

David Kraeutmann

More information about the Python-list mailing list