Yes of course the use of a boolean variable is obvious but I'm mixing python code with html using Mako templates. In Mako for code readability reasons I try to stick to simple "for" and "if" constructions, and I try to avoid variables declarations inside the html, that's all. Thanks anyway. -- http://mail.python.org/mailman/listinfo/python-list
- Best way to check that you are at the beginning (the end) ... Laurent
- Re: Best way to check that you are at the beginning (... Cameron Simpson
- Re: Best way to check that you are at the beginning (... Laurent
- Re: Best way to check that you are at the beginni... Cameron Simpson
- Re: Best way to check that you are at the beg... Terry Reedy
- Re: Best way to check that you are at the beginni... Laurent
- Re: Best way to check that you are at the beginni... Tim Chase
- Re: Best way to check that you are at the beginni... Laurent
- Re: Best way to check that you are at the beginni... Chris Torek
- Re: Best way to check that you are at the beg... Cameron Simpson
- Re: Best way to check that you are at the beginning (... Steven D'Aprano
- Re: Best way to check that you are at the beginning (... Miki Tebeka