Re: Problem using pbzip2 with bz2.BZ2File().read()

2010-06-21 Thread Chris Rebert
On Mon, Jun 21, 2010 at 5:32 PM, Ameet Nanda wrote: > When I compress a file with bzip2 from command line and read it with > uncomp_data = bz2.BZ2File("fname").read() , it reads the whole file into > uncomp_data. > > However when I compress the file with pbzip2 from command line and read it > in a

Problem using pbzip2 with bz2.BZ2File().read()

2010-06-21 Thread Ameet Nanda
When I compress a file with bzip2 from command line and read it with *uncomp_data = bz2.BZ2File("fname").read()* , it reads the whole file into uncomp_data. However when I compress the file with pbzip2 from command line and read it in a similar way* it just reads the block size of data* used for c