Now, let's start our processor. Initially, we'll build enough functionality to scan our logfile as read via standard input and report files served over a given size. System administrators may find utilities such as this useful when attempting to track down abusive users. It's also generally a good idea to iteratively add functionality to an application in development.
$ cd text_processing/ $ . bin/activate
logscan.py. Enter the following code:
#!/usr/bin/python import sys from optparse ...