2009/3/10 Alan Gauld <[email protected]>: >> newFile.write(zf.read(zfilename)) > > Remember you are reading the file into memory and then writing it > out again in a single operation, that will use twice the space of the > uncompressed files - plus some extra for overhead.
Question, Do you mean the file in the zipfile (zfilename) or the whole zipfile (zf)? I would expect zf.read(zfilename) to only read the requested file in the zipfile. Thanks Sander _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
