[Python-Dev] Add a -z interpreter flag to execute a zip file

Andy C andychup at gmail.com
Tue Jul 24 04:37:10 CEST 2007


Just to update everyone on the status of this, the next thing on my
list is to figure out the Windows build and set up the the file
association in the installer.  Actually, I should ask if there's
anything else that I should pay attention to here, e.g. do I have to
add an icon association for Windows or something like that?

Is there any documentation like a wiki page on this?  I looked at the
README in the PC* directories and it doesn't seem to talk about the
installer.  Maybe it will become clearer when I get Visual Studio.

Andy

On 7/23/07, Paul Moore <p.f.moore at gmail.com> wrote:
> On 23/07/07, Phillip J. Eby <pje at telecommunity.com> wrote:
> > Actually, it isn't, because you can't start a zipfile with a Python
> > script.  Lord knows I've *tried*, but the Python interpreter just
> > won't accept arbitrary binary data as part of a script.  :)
>
> That bit me a while back, hard enough that I thought of putting
> together a patch for it (probably just to stop processing the script
> at a NUL byte), but never did as I didn't think I could put a
> convincing enough case for it being *useful*.
>
> Anyway, I'd be happy enough with the -z patch as it stands, or if
> someone comes up with something better, that would suit me too...
>
> Paul.
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/andychup%40gmail.com
>


More information about the Python-Dev mailing list