Python utility code for easily creating command line scripts.