[Python-Dev] Re: hook for standalone executable

Skip Montanaro skip at pobox.com
Thu Aug 14 15:23:16 EDT 2003


    Damien> Why not activate the hook if a magic cookie has been appended to
    Damien> the executable....

    Damien> The file layout would then be:

    Damien> <executable> <zip header> <zip archive> <zip length> <zip cookie>

I don't think zipimport supports importing from zip files with appended
stuff.  I suspect it needs to know the last N bytes form the zip length.

Skip



More information about the Python-Dev mailing list