Re: Read a gzip file from inside a tar file

2004-12-13 Thread Fredrik Lundh
Craig Ringer wrote: >> These are huge files. My goal is to analyze the content of the gzip >> file in the tar file without having to un gzip. If that is possible. > > As far as I know, gzip is a stream compression algorithm that can't be > decompressed in small blocks. That is, I don't think you

Re: Read a gzip file from inside a tar file

2004-12-13 Thread Craig Ringer
On Tue, 2004-12-14 at 02:39, Rohit wrote: > if I change fileText = fileLike.read() to fileText = > fileLike.readLines(). > > It works for a while before it gets killed of out of memory. > > These are huge files. My goal is to analyze the content of the gzip > file in the tar file without having t

Re: Read a gzip file from inside a tar file

2004-12-13 Thread Rohit
if I change fileText = fileLike.read() to fileText = fileLike.readLines(). It works for a while before it gets killed of out of memory. These are huge files. My goal is to analyze the content of the gzip file in the tar file without having to un gzip. If that is possible. -- http://mail.python

Read a gzip file from inside a tar file

2004-12-13 Thread rohisingh
I have a tar file. The content of the file are as following. [EMAIL PROTECTED] 12-08-04 $ tar tvf 20041208.tar drwxr-xr-x root/root 0 2004-12-08 21:39:19 20041208/ -rw-r--r-- root/root 1576 2004-12-08 21:39:19 20041208/README drwxr-xr-x root/root 0 2004-12-08 21:27:31 20041208