[Tutor] Line wrapping in IDLE possible? Horizontal scroll bar?

Chris g.nius.ck at gmail.com
Thu Jun 24 16:31:50 CEST 2010


On 06/24/2010 10:24 AM, Richard D. Moores wrote:
> Yes, that's true, but if the line is long because of a long int?
>
> On Thu, Jun 24, 2010 at 07:18, Christopher King<g.nius.ck at gmail.com>  wrote:
>    
>> well, if you use a backlash in the middle of a statement, you can continue the statement on the next line like so.
>>      
>>>>> for \
>>>>>            
>>      i \
>>      in \
>>      ('neat', 'ha') \
>>      : \
>>      print \
>>      i
>> neat
>> ha
>>      
>>>>>            
>> you can abuse it as much as you like
>> On Thu, Jun 24, 2010 at 10:00 AM, Richard D. Moores<rdmoores at gmail.com>  wrote:
>>      
>>> I use IDLE v3.1.1 occasionally on Vista. There doesn't seem to be a
>>> way to configure it to wrap long lines (they do wrap in the IDLE
>>> shell). Or is there?
>>>
>>> Also, when there's an unwrapped long line that extends past the right
>>> edge of the window frame, the only way to see the line's tail is to
>>> place the caret on the line and use the right arrow key. Is there a
>>> way to get a horizontal scroll bar to appear?
>>>
>>> Thanks,
>>>
>>> Dick Moores
>>> _______________________________________________
>>> Tutor maillist  -  Tutor at python.org
>>> To unsubscribe or change subscription options:
>>> http://mail.python.org/mailman/listinfo/tutor
>>>        
>>      
just give the number its on line like so
 >>> function('neat',    
7085910407358720820797840784720872097287409278407528907047908524087589046980786984380642784907290766890474876480786748728906789042089672687043287422308748902707842048 
\ + 4,
      'ha')
neat
7085910407358720820797840784720872097287409278407528907047908524087589046980786984380642784907290766890474876480786748728906789042089672687043287422308748902707842052
ha
 >>>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100624/b0f8a0b5/attachment.html>


More information about the Tutor mailing list