py360 EOF detection: use range operator