Ryan K wrote: > It doesn't even run but when I go through it interactively it > seems okay. Once again, any help is appreciated.
I haven't tested yet, but why don't you make a list of words of the text (with split), and then accumulate words in a list until the next word would make the line too long. Then just join the word list, fill with spaces until line end and start over. Regards, Björn -- BOFH excuse #325: Your processor does not develop enough heat. -- http://mail.python.org/mailman/listinfo/python-list