Re: IDLE won't wrap lines of text

2012-07-07 Thread kwame . asamoah . tekyi
i think i understand the question... see when u doing django and u have use the 
views.py to respond to request in html form,,, its hard to wrap the html codes 
in idle.. 

On Sunday, February 20, 2011 11:54:36 PM UTC, Terry Reedy wrote:
 On 2/19/2011 6:56 PM, Richard D. Moores 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.
 
 The IDLE editor was designed for writing Python code, not general text. 
 It is expected that you will limit line lengths to what can be seen on 
 your screen.
 
 -- 
 Terry Jan Reedy

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: IDLE won't wrap lines of text

2011-02-21 Thread Duncan Booth
André Roberge andre.robe...@gmail.com wrote:

 On Sunday, February 20, 2011 10:51:38 PM UTC-4, Dick Moores wrote:
 Problem is I know of no text editor that can handle Japanese.
 
 
 The editor in Crunchy (http://code.google.com/p/crunchy) appears to be
 working just fine with the sample code you posted (at least when using
 Python 3 - I got an error when using it to run the code with Python
 2). That being said, I would not recommend it for heavy work 
 
 An editor that seems to work just fine (although it took a long time
 to load the sample code) is SublimeText (http://www.sublimetext.com/)
 - version 2 alpha; it is becoming my editor of choice. 
 

FWIW, Lugaru Epsilon (http://lugaru.com/) seems to handle it just fine 
though you do have to set it to use a fixed pitch font which has Japanese 
glyphs (MS Mincho was the only suitable font on my system but would suck 
for general editing).

-- 
Duncan Booth http://kupuguy.blogspot.com
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: IDLE won't wrap lines of text

2011-02-20 Thread Terry Reedy

On 2/19/2011 6:56 PM, Richard D. Moores 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.


The IDLE editor was designed for writing Python code, not general text. 
It is expected that you will limit line lengths to what can be seen on 
your screen.


--
Terry Jan Reedy

--
http://mail.python.org/mailman/listinfo/python-list


Re: IDLE won't wrap lines of text

2011-02-20 Thread Rhodri James
On Sat, 19 Feb 2011 23:56:45 -, Richard D. Moores rdmoo...@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.


--
Rhodri James *-* Wildebeest Herder to the Masses
--
http://mail.python.org/mailman/listinfo/python-list


Re: IDLE won't wrap lines of text

2011-02-20 Thread Richard D. Moores
On Sun, Feb 20, 2011 at 16:31, Rhodri James rho...@wildebst.demon.co.uk wrote:
 On Sat, 19 Feb 2011 23:56:45 -, Richard D. Moores rdmoo...@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

Dick Moores
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: IDLE won't wrap lines of text

2011-02-20 Thread Rhodri James
On Mon, 21 Feb 2011 01:41:12 -, Richard D. Moores rdmoo...@gmail.com  
wrote:


On Sun, Feb 20, 2011 at 16:31, Rhodri James  
rho...@wildebst.demon.co.uk wrote:
On Sat, 19 Feb 2011 23:56:45 -, Richard D. Moores  
rdmoo...@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
--
http://mail.python.org/mailman/listinfo/python-list


Re: IDLE won't wrap lines of text

2011-02-20 Thread Richard D. Moores
On Sun, Feb 20, 2011 at 18:32, Rhodri James rho...@wildebst.demon.co.uk wrote:
 On Mon, 21 Feb 2011 01:41:12 -, Richard D. Moores rdmoo...@gmail.com
 wrote:

 On Sun, Feb 20, 2011 at 16:31, Rhodri James rho...@wildebst.demon.co.uk
 wrote:

 On Sat, 19 Feb 2011 23:56:45 -, Richard D. Moores
 rdmoo...@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.

Problem is I know of no text editor that can handle Japanese.

Thanks,

Dick
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: IDLE won't wrap lines of text

2011-02-20 Thread André Roberge
On Sunday, February 20, 2011 10:51:38 PM UTC-4, Dick Moores wrote:
 On Sun, Feb 20, 2011 at 18:32, Rhodri James rho...@wildebst.demon.co.uk 
 wrote:
  On Mon, 21 Feb 2011 01:41:12 -, Richard D. Moores rdmo...@gmail.com
  wrote:
 
  On Sun, Feb 20, 2011 at 16:31, Rhodri James rho...@wildebst.demon.co.uk
  wrote:
 
  On Sat, 19 Feb 2011 23:56:45 -, Richard D. Moores
  rdmo...@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.
 
 Problem is I know of no text editor that can handle Japanese.
 
 Thanks,
 
 Dick


The editor in Crunchy (http://code.google.com/p/crunchy) appears to be working 
just fine with the sample code you posted (at least when using Python 3 - I got 
an error when using it to run the code with Python 2). That being said, I would 
not recommend it for heavy work 

An editor that seems to work just fine (although it took a long time to load 
the sample code) is SublimeText (http://www.sublimetext.com/) - version 2 
alpha; it is becoming my editor of choice.

André

-- 
http://mail.python.org/mailman/listinfo/python-list


IDLE won't wrap lines of text

2011-02-19 Thread Richard D. Moores
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.

Thanks,

Dick Moores
-- 
http://mail.python.org/mailman/listinfo/python-list