Thanks a lot, guys!
sanjay
--
http://mail.python.org/mailman/listinfo/python-list
Hi All,
Is somewhere a routine useful to convert a string to lines of maxsize,
each prefixed with a ''. This is a typical requirement for 'keeping
existing text while replying to a post in a forum'.
It can be developed, but if something obvious is already there(I being
new to python might not be
Sanjay wrote:
Hi All,
Is somewhere a routine useful to convert a string to lines of maxsize,
each prefixed with a ''. This is a typical requirement for 'keeping
existing text while replying to a post in a forum'.
It can be developed, but if something obvious is already there(I being
new
Sanjay wrote:
Is somewhere a routine useful to convert a string to lines of maxsize,
each prefixed with a ''. This is a typical requirement for 'keeping
existing text while replying to a post in a forum'.
import textwrap
format = textwrap.TextWrapper(20, initial_indent=] ,
Sanjay wrote:
Is somewhere a routine useful to convert a string to lines of maxsize,
each prefixed with a ''. This is a typical requirement for 'keeping
existing text while replying to a post in a forum'.
Take a look to the textwrap module:
http://docs.python.org/lib/module-textwrap.html
Here
On 2006-12-14, Roberto Bonvallet [EMAIL PROTECTED] wrote:
Sanjay wrote:
Is somewhere a routine useful to convert a string to lines of
maxsize, each prefixed with a ''. This is a typical
requirement for 'keeping existing text while replying to a
post in a forum'.
Take a look to the textwrap