IDLE won't wrap lines of text

Rhodri James rhodri at wildebst.demon.co.uk
Sun Feb 20 21:32:20 EST 2011


On Mon, 21 Feb 2011 01:41:12 -0000, Richard D. Moores <rdmoores at gmail.com>  
wrote:

> On Sun, Feb 20, 2011 at 16:31, Rhodri James  
> <rhodri at wildebst.demon.co.uk> wrote:
>> On Sat, 19 Feb 2011 23:56:45 -0000, Richard D. Moores  
>> <rdmoores at gmail.com>
>> wrote:
>>
>>> Vista
>>> Python 3.1.3
>>>
>>> I can't figure out how to get IDLE to wrap text pasted in from, say, a
>>> newspaper article. Usually, a each paragraph will appear as one long
>>> unwrapped line, with no way to read the whole line, because no
>>> horizontal bar is created. I haven't found anything about this in
>>> either the options or the help.
>>
>> I hate to ask, but why are you doing this?  IDLE isn't a general-purpose
>> editor, it's a programming editor specifically for Python, and as such  
>> it's
>> entirely appropriate for it to discourage overly long lines.
>
> Take a look at <http://tutoree7.pastebin.com/EmyQTaYt>

I see.  I'd recommend the approach of sticking your source data in a
separate text file (using a text editor rather than IDLE) in any case;
it's much less of a pain to change what you are working on that way.

-- 
Rhodri James *-* Wildebeest Herder to the Masses



More information about the Python-list mailing list