Hello, Has anybody written a program in python to justify text ? It is not so difficult except where the line has to be expanded (padded) to reach the margin. In most traditional heavy-weight text editors written in C, there is an option to justify. Do the programmers use a traditional method/formula ? A.A.