On Wed, Oct 30, 2013 at 9:08 PM,  <jonas.thornv...@gmail.com> wrote:
> Well Tim ***one could argue*** why not do a (i think it is called parser) 
> that react to "loop", "end" and "function". And lazy like me do not have to 
> think about "what is not part of program".

Python actually does have a symbol for what you're thinking of - but
it's not a keyword. Check this out:

print("Hello, world!")
for i in range(5):
#{
    print("Line #%d"%i)
#}

if i>3:
#{
    print("After the loop, i is huge!")
#}
else:
#{
    print("After the loop, something is seriously screwy.")
    raise RuntimeError
#}

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to