PythonTidy cleans up, regularizes, and reformats the text of Python scripts. It is released under the GNU General Public License. Python scripts are usually so good looking that no beautification is required. However, from time to time, it may be necessary to alter the style to conform to changing standards. This script converts programs in a consistent way. It abstracts the pretty presentation of the symbolic code from the humdrum process of writing it and getting it to work. This is an upgrade. There was a big problem with earlier versions: Canonical values were substituted for strings and numbers. For example, decimal integers were substituted for hexadecimal, and escaped strings for raw strings. Authors of Python scripts usually use peculiar notations for peculiar purposes, and doing away with the peculiarity negatively impacts the readability of the code. This version preserves the original constants (parsed by *tokenize*) in a literal pool indexed by the value they evaluate to. The canonical values (output by *compiler*) are then translated back (when possible) to the original constants by looking them up in the literal pool. -- <P><A HREF="http://www.lacusveris.com/PythonTidy/PythonTidy-1.10.python">PythonTidy 1.10</A> - Cleans up, regularizes, and reformats the text of Python scripts. (18-Jan-07)</P> .. Chuck Rhode, Sheboygan, WI, USA .. mailto:CRhode@LacusVeris.com?subject=PythonTidy .. Weather: http://LacusVeris.com/WX .. 20° — Wind WNW 13 mph