In article <[EMAIL PROTECTED]>,
Philipp Pagel <[EMAIL PROTECTED]> wrote:
> Antoon Pardon <[EMAIL PROTECTED]> wrote:
> > On 2007-02-09, Philipp Pagel <[EMAIL PROTECTED]> wrote:
> > > for filename in file_list:
> > > file = os.popen('uncompress -c '+filename, 'r')
> > > do_something(file)
>
Chris <[EMAIL PROTECTED]> wrote:
> It could easily be the 2gig file size limitation, how large are the
> extracts?
The files are much smaller than that, so that's not the issue.
Anyway, Antoon pointed me in the right direction.
Thanks for the help
Philipp
--
Dr. Philipp Pagel
Antoon Pardon <[EMAIL PROTECTED]> wrote:
> On 2007-02-09, Philipp Pagel <[EMAIL PROTECTED]> wrote:
> > for filename in file_list:
> > file = os.popen('uncompress -c '+filename, 'r')
> > do_something(file)
> > file.close()
> >
> > This works fine for some files but results in
> >
> > 'wr
On 2007-02-09, Philipp Pagel <[EMAIL PROTECTED]> wrote:
>
> Hi Pythoneers,
>
> I need to process a large number of files which have been packed by the
> UNIX compress tool (*.Z files). As I am not aware of a compress
> equivalent of the gzip, zipfile or bzip2 modules, I thought I'd use the
>
It could easily be the 2gig file size limitation, how large are the
extracts?
--
http://mail.python.org/mailman/listinfo/python-list
Hi Pythoneers,
I need to process a large number of files which have been packed by the
UNIX compress tool (*.Z files). As I am not aware of a compress
equivalent of the gzip, zipfile or bzip2 modules, I thought I'd use the
uncompress or zcat commands directly to deal with the files:
for