summaryrefslogtreecommitdiffstats
path: root/Lib/fileinput.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-100/+100
|
* A new standard module, as discussed on comp.lang.python, to simplifyGuido van Rossum1997-11-211-0/+254
the writing of filters. Typical use is: import fileinput for line in fileinput.input(): process(line) This iterates over the lines of all files listed in sys.argv[1:], defaulting to sys.stdin if the list is empty or when a filename is '-'. There is also an option to use this to direct the output back to the input files.