Very small zlib/svg problem

Oleg Broytmann phd at phd.pp.ru
Thu Mar 28 07:34:15 EST 2002


On Wed, Mar 27, 2002 at 04:43:25PM -0600, Skip Montanaro wrote:
>     f = gzip.open("c:/test.svgz", "w")
                     ^^ this suggests to use binary modes for binary files:
      f = gzip.open("c:/test.svgz", "wb")
                                      !

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.




More information about the Python-list mailing list