[Tutor] "expected an indented block" (see attached)
evert.rol at gmail.com
Thu Jul 22 16:17:25 CEST 2010
>> (also consider using four spaces for indentation, which I've also found much clearer. Have a read through PEP 8; has a lot of interesting tidbits.
> Did you read the rest of his post? He's using a screen reader for a
> reason; he can't *see* the code. visual means of structuring code like
> whitespace are meaningless to him at best, and annoying at worst. No
> wonder his code is littered with '#end def' comments. Python's
> significant indentation is horrible for the blind, at least until we
> create a more specialized/better screen reader.
Sorry, I had obviously missed that. Apologies.
More information about the Tutor