[EMAIL PROTECTED] wrote:
> Hey guys.
>
> I should warn you, first off, that I'm relatively new to Python.
> Basically, what I'm trying to do is create a word-wrapping function
> with the added complication that it add a character at the beginning
> and end of each line, so that it encloses the tex
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> The word-wrapping function I'm working with is
I have never used this, but it might help you
>>> import textwrap
>>> dir(textwrap)
['TextWrapper', '__all__', '__builtins__', '__doc__', '__file__',
'__name__', '__revision__', '_white
Hey guys.
I should warn you, first off, that I'm relatively new to Python.
Basically, what I'm trying to do is create a word-wrapping function
with the added complication that it add a character at the beginning
and end of each line, so that it encloses the text in a sort of 'box':
--