Source formatting for long expressions.

Skip Montanaro skip at pobox.com
Mon Jun 10 11:28:54 EDT 2002


    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






More information about the Python-list mailing list