[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Python Guru needed



On Wed, Jan 7, 2009 at 5:22 PM, Matthew Flaschen
<matthew flaschen gatech edu> wrote:
> stan wrote:
>> In Python indentation matters.  And it needs to be consistent within a
>> block.  The python interpreter is telling you that you should have
>> started an indented block at the while but there is no indented block.
>
> Incidentally, doesn't this also mean it's impossible to do the
> equivalent of:
>
> while(true)
> {
> }
>
> ?


while True: pass

-- 
Fedora 9 : sulphur is good for the skin
( www.pembo13.com )


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]