python equivalent to argf or diamond operator
Ruby has ARGF and Perl has the diamond operator, but what convenience
object or operator does Python provide for reading from files provided on the
command line or stdin
?
import fileinput
for line in fileinput.input():
process(line)