big text strings

Andrew Kuchling akuchlin at mems-exchange.org
Wed Apr 25 10:23:29 EDT 2001


"Emile van Sebille" <emile at fenx.com> writes:
> Sure.  One way is to pass your big string to a text formatting function that
> breaks the line up as it outputs it.

Hm... there's a wrap_text() hiding inside the Distutils, in the
fancy_getopt module.  Perhaps it should be moved out of the Distutils
and into the standard library.  You could import it from
distutils.fancy_getopt, but that has two marks against it;
fancy_getopt is a weird module name to be importing a wrap_text
function from, and I don't commit to preserving the interface of what
is currently an internal function.

--amk




More information about the Python-list mailing list