On Tue, 01 Jul 2008 16:38:23 +0100, Wesley Brooks wrote:

> Dear Users,
> 
> I'm having a problem when trying to move script from Linux to Windows.
> A zipfile opperation is failing with the message:
> 
> "BadZipFile: File is not a zip file"
> 
> I have a simple scripts that reads a zip file in the same way as any
> other file into a string, then sends it across to a network where it
> is saved as perusual into a file, […]

Are you sure you read and save the file in binary mode, especially on
windows!?

Ciao,
        Marc 'BlackJack' Rintsch
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to