fileinput.input(files=None, inplace=False, backup='', bufsize=0, mode='r', openhook=None)
Create an instance of the FileInput class. The instance will be used as global state for the functions of this module, and is also returned to use during iteration. The parameters to this function will be passed along to the constructor of the FileInput class.
The FileInput instance can be used as a context manager in the with statement. In this example, input is closed after the with statement is exite