Where can I suggest an enchantment for Python Zip lib?

Larry Bates larry.bates at websafe.com
Sat Jun 9 16:22:09 EDT 2007


durumdara wrote:
> Hi Larry!
> 
>> durumdara wrote:
>> You can easily find out roughly how many bytes are in your .ZIP archive
>> by using following:
>>
>> zipbytes=Zobj.fp.tell()
>>
> 
> The main problem is not this.
> I want to write a backup software, and I want to:
> - see the progress in the processing of the actual file
> - abort the progress if I need it
> If I compress small files, I don't have problems.
> But with larger files (10-20 MB) I get problems, because the zipfile's
> method is uninterruptable.
> Only one way I have to control this: if I modify the ZipFile module.
> 
> dd
> 
> On Jun 7, 8:26 pm, Larry Bates <larry.ba... at websafe.com> wrote:

On my 3 year old 3Ghz Pentium III it takes about 8 seconds to zip 20Mb file.
So what is the problem?  Not updating the process for 8-10 seconds
should be just fine for most applications.

-Larry



More information about the Python-list mailing list