[Python-Dev] fileinput.py

Guido van Rossum guido@python.org
Fri, 05 Jan 2001 14:55:33 -0500

> What do you think contributes to fileinput's relative disfavor?

In my view, fileinput is one of those unfortunate features that exist
solely to shut up a particular kind of criticism.  Without fileinput,
Perl zealots would have an easy argument for a "trivial reject" of
even considering Python.  Now, when somebody claims the superiority of
Perl's "loop involving a <> thingie", you can point to fileinput to
prevent them from scoring a point.

--Guido van Rossum (home page: http://www.python.org/~guido/)