Python command line apps

There are a number of Python libraries and modules to help build a command line app from parsing arguments and options to testing to full blown CLI frameworks which handle things like colorized output, progress bars, sending email or pluggable modules.