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.