readline in while loop

Edvard Majakari edvard+web at majakari.net
Tue May 27 07:58:18 EDT 2003


On Fri, 23 May 2003, ramen at lackingtalent.com wrote:

> Oren Tirosh wrote:
>> Python == 2.3: a file is an iterator
>> Python == 2.2: a file has an iterator
>> Python <= 2.1: What's an iterator?
> 
> Nice. =)

Yes, very. Very compact and precise as well (if true, as I think it is) :)

-- 
# Edvard Majakari		Software Engineer
# PGP PUBLIC KEY available    	Soli Deo Gloria!

$_ = '456476617264204d616a616b6172692c20612043687269737469616e20'; print
join('',map{chr hex}(split/(\w{2})/)),uc substr(crypt(60281449,'es'),2,4),"\n";





More information about the Python-list mailing list