Use argparse to handle command line arguments
Add an XLS formatter to create Excel output, if the xlwt module is available.