Fork of Chuck Rhode's PythonTidy script.