Re: reading from a gzip file

2008-06-18 Thread MRAB
On Jun 18, 10:10 am, Nader <[EMAIL PROTECTED]> wrote: > Hello, > > I have a gzip file and I try to read from this file withe the next > statements: > >  gunziped_file = gzip.GzipFile('gzip-file') >  input_file = open(gunziped_file,'r') > > But I get the nezt error message: > > Traceback (most recen

reading from a gzip file

2008-06-18 Thread Nader
Hello, I have a gzip file and I try to read from this file withe the next statements: gunziped_file = gzip.GzipFile('gzip-file') input_file = open(gunziped_file,'r') But I get the nezt error message: Traceback (most recent call last): File "read_sfloc_files.py", line 131, in ? input_fil