Extracting bytecode out of frozen programs

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Sun Feb 8 17:12:44 EST 2009


En Sun, 08 Feb 2009 19:19:12 -0200, Martin v. Löwis <martin at v.loewis.de>  
escribió:

>> Is there a way of extracting them so they are importable in a python  
>> shell?
>
> Try imp.get_frozen_object.

Ouch... this looks better than using ctypes.
get_frozen_object exists at least since 1.5.2, but has never been  
documented, and the source code says it's obsolete. Should be documented  
now? Any alternative?

-- 
Gabriel Genellina




More information about the Python-list mailing list