while c = f.read(1)
John Machin
sjmachin at lexicon.net
Sun Aug 21 07:21:58 EDT 2005
Reinhold Birkenfeld wrote:
> John Machin wrote:
>
>
>>... AND it's about time that list is updated to include False explicitly
>> -- save nitpicking arguments about whether False is covered by
>>"numeric zero of all types" :-)
>
>
> Done.
Thanks -- those of us who actually read manuals salute you.
>
>w about
>> for c in f.read():
> [snip]
> Don't forget
>
> for line in f:
> for c in line:
> # do stuff
>
OK. I'll pay that one.
More information about the Python-list
mailing list