Chris> Does anyone know of a tool that will beak up a very, very long Chris> expression like this into multiple lines with sane indentation? How about the pprint module? -- Skip Montanaro (skip at pobox.com - http://www.mojam.com/) Boycott Netflix - they spam - http://www.musi-cal.com/~skip/netflix.html