How to do line wrapping?

Jeff Bauer jbauer at rubic.com
Fri Feb 11 17:52:01 CET 2000


Robb,

Your question was asked a few days ago and received the
following responses:

Brad Howes response:
http://x23.deja.com/=dnc/[ST_rn=ps]/getdoc.xp?AN=582180658&CONTEXT=950287138.1549008936

Hamish Lawson posted a link to his code:
http://www.cs.st-andrews.ac.uk/~hamish/python/TextFormatter.py

My response:
http://x23.deja.com/=dnc/[ST_rn=ps]/getdoc.xp?AN=582119928&CONTEXT=950287138.1549008936

Both Brad and Hamish wrote their own.  I used the standard
formatter.py module.  I'm wondering if formatter.py is
unpopular because it's a less well-known module or if
the documentation needs clarifying or if it's just
unwieldy for simple wordwrap tasks.

Jeff Bauer
Rubicon Research




More information about the Python-list mailing list