How to compress a folder and all of its sub directories and filesinto a zip file?

Brian van den Broek bvande at po-box.mcgill.ca
Tue Jun 28 11:24:25 EDT 2005


Fredrik Lundh said unto the world upon 28/06/2005 08:04:
> Brian van den Broek wrote:
> 
> 
>>So, it would appear that compression requires a 3rd party module, not
>>included in Python (and not present on my Windows box).
> 
> 
> where did you get your Windows Python?  afaik, the zlib module has been
> included in all major Python binary distributions since 1.5.2 or so...
> 
> </F> 

This is embarrassing :-[

I felt quite certain that I'd correctly typed 'import zlib' and 
received an import error. I'm going to have to plead a bad case of 3am 
goggles.

Off to retract a spurious bug I filed ...

Thanks Fredrik.

Brian vdB





More information about the Python-list mailing list