Thanks a lot, guys!
sanjay
--
http://mail.python.org/mailman/listinfo/python-list
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
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
H
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="] ",
subseq
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 bein
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