start working with gzip : probs with linux/windows

Thomas Jensen null at obscure.dk.X
Thu Jul 4 17:07:46 EDT 2002


Do you open the files in binary mode?
Makes a difference on Windows.

/Thomas

Pablo Pernot wrote:
> Hello all, 
> 
> I started working with the gzip module.
> It works fine in full linux env. 
> But when I upload (working with socket) gzip files in a windows env, 
> the files appear corrupted. 
> any clue ?




More information about the Python-list mailing list