Re: Extracting multiple zip files in a directory

2005-05-19 Thread Lorn
Ok, I probably should have seen this coming. Working with small zip files is no problem with the above script. However, when opening a 120+ MB compressed file that uncompresses to over 1GB, I unfortunately get memory errors. Is this because python is holding the extracted file in memory, as opposed

Re: Extracting multiple zip files in a directory

2005-05-18 Thread John Machin
On 18 May 2005 19:49:12 -0700, "Lorn" <[EMAIL PROTECTED]> wrote: > >Was wondering what your reasoning is behind replacing "filter" with the >x for x statement? map, filter, and reduce tend to be deprecated in some quarters since list comprehensions came in [and fiercely defended in other quarter

Re: Extracting multiple zip files in a directory

2005-05-18 Thread Lorn
Thanks John, this works great! Was wondering what your reasoning is behind replacing "filter" with the x for x statement? Appreciate the help, thanks again. Lorn -- http://mail.python.org/mailman/listinfo/python-list

Re: Extracting multiple zip files in a directory

2005-05-18 Thread John Machin
On 18 May 2005 17:30:58 -0700, "Lorn" <[EMAIL PROTECTED]> wrote: >I've been working on this code somewhat succesfully, however I'm unable >to get it to iterate through all the zip files in the directory. As of >now it only extracts the first one it finds. If anyone could lend some >tips on how my

Extracting multiple zip files in a directory

2005-05-18 Thread Lorn
I've been working on this code somewhat succesfully, however I'm unable to get it to iterate through all the zip files in the directory. As of now it only extracts the first one it finds. If anyone could lend some tips on how my iteration scheme should look, it would be hugely appreciated. Here is