Python CGI - Presenting a zip file to user

Justin Ezequiel justin.mailinglists at gmail.com
Thu Jan 3 00:45:07 EST 2008


On Jan 3, 1:35 pm, jwwest <jww... at gmail.com> wrote:
> Thanks! That worked like an absolute charm.
>
> Just a question though. I'm curious as to why you have to use the
> msvcrt bit on Windows. If I were to port my app to *NIX, would I need
> to do anything similar?
>
> - James

not needed for *NIX as *NIX does not have a notion of binary- vs text-
mode

I seem to recall not needing the msvcrt stuff a while ago on Windows
but recently needed it again for Python CGI on IIS



More information about the Python-list mailing list