Don't overload built-in functions. Adhere to PEP 8.
Adhere to PEP 8.
Don't override built-in functions.
Switched from 'optparse' to 'argparse'.
Separated summary assembly and display.
Made compatible with Python 3.