About deletion of variables in version 2.1

Juan Huertas jhg at galdon.com
Thu Mar 14 04:18:37 EST 2002


Sorry, i'm trouble, the problem is not in the deletion of variables.

The problem takes into zlib (decompress method).

I'ts not work fine.

Thank You for your interest.


"Jason Orendorff" <jason at jorendorff.com> escribió en el mensaje
news:mailman.1015879323.25989.python-list at python.org...
> Juan Huertas wrote:
> > Reading a large file and loading to a list:
> >
> > f=open('c:/xx','rb')
> > ls=[]
> > while not eof:
> >     ln=f.readline()
> >     ls.append(ln)
> >
> > This takes 5 seconds (reasonable)
>
> This code is a little nonsensical.  Could you post real code
> that can be tested?
>
> ## Jason Orendorff    http://www.jorendorff.com/
>
>





More information about the Python-list mailing list