fileinput — Command-Line Filter Framework — PyMOTW 3

The fileinput module is a framework for creating command-line programs for processing text files as a filter.

Read more…

This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.