Well, another try Re: while c = f.read(1)

Grant Edwards grante at visi.com
Sat Aug 20 22:04:29 CEST 2005

On 2005-08-20, James <txdiversity at hotmail.com> wrote:
>> for data in iter(lambda:f.read(1024), ''):
>>     for c in data:
> What are the meanings of Commands 'iter' and 'lambda', respectively? I
> do not want you to indicate merely the related help pages.

Rude much?

If somebody is kind enough to point out the documentation that
answers your question you ought to read it.

> Just your ituitive and short explanations would be enough
> since I'm really newbie to Python.

What makes you think my "intuitive and short" explanation is
goign to be better than what's aready written?  Why should I
take the time?

Grant Edwards                   grante             Yow!  People humiliating
                                  at               a salami!

More information about the Python-list mailing list