[Tutor] A Stuborn Tab Problem in IDLE

Wayne Watson sierra_mtnview at sbcglobal.net
Mon Feb 15 06:47:04 CET 2010


Thanks for the reminder on that. I haven't need the DOS box for 8 
months. Just off on other non-programming efforts for the most part. 
Things have picked up of late. I was beginning to think for awhile that 
Win7 might have dropped it. I don't see any changes to it.

On 2/14/2010 7:01 PM, Dave Angel wrote:
> Wayne Watson wrote:
>> <div class="moz-text-flowed" style="font-family: -moz-fixed">I got to 
>> the dos command line facility and got to the file. I executed the 
>> program, and it failed with a syntax error. I can't copy it out of 
>> the window to paste here,
>>>> "Wayne Watson" <sierra_mtnview at sbcglobal.net> wrote
>>>>> When I use F5 to execute a py program in IDLE, Win7, I get a tab 
>>>>> error on an indented else. 
>>>>
>>>> What happens if you execute from a command line? Do you get the 
>>>> same error?
>>>> If so look at the lines before.
>>>> If not try closing and restarting IDLE
>>>>
>>>> HTH,
>>>>
>>>> Alan G
>>>>
> Once you've discovered the DOS box, you should also discover QuickEdit 
> mode.  In the DOS box, right click on the title bar, and choose 
> "Properties".  First tab is Options.  Enable Quick-Edit mode, and 
> press OK.  Now, you can drag a rectangle on the DOS box, and use right 
> click to paste it to the clipboard. Practice a bit and you'll find it 
> easy.  An essential tool.
>
> DaveA
>
>

-- 
"Crime is way down. War is declining. And that's far from the good 
news." -- Steven Pinker (and other sources) Why is this true, but yet 
the media says otherwise? The media knows very well how to manipulate us 
(see limbic, emotion, $$). -- WTW


More information about the Tutor mailing list