Range Operation pre-PEP

Just van Rossum just at letterror.com
Tue May 15 17:53:47 EDT 2001


Magnus Lie Hetland wrote:

> Is sys.stdin going to be a line iterator? Why?

Convenience?

  for line in file:
      ...

I think that's pretty awesome. And once you see it, it makes you
wonder why it hasn't always worked like that...

Just



More information about the Python-list mailing list