Re: 0 in [True,False] returns True

2005-12-13 Thread quentel . pierre
Ok, I'll explain why I wanted to test if the value was a boolean I have a program that generates HTML tags with attributes. The principle is that TAG('text',arg1=val1,arg2=val2) generates TAG arg1=val1 arg2=val2text/TAG For HTML attributes that don't have an explicit value (such as the SELECTED

Re: 0 in [True,False] returns True

2005-12-13 Thread quentel . pierre
Thanks for the link Carsten, the explanation is clear I didn't know where to search in the Python documentation, there isn't a section about keywords (always wondered why without daring to say - now it's done). So I typed ' in operator Python ' in Google, which gave : - on the first page a link

Re: Web application toolkit recommendation?

2005-04-06 Thread quentel . pierre
You can also take a look at Karrigell (http://karrigell.sourceforge.net). You can write pure Python scripts or use a PHP-like syntax, and it is shipped with gadfly, an SQL engine, and with KirbyBase, a database engine which uses a Pythonic syntax. As for all the web frameworks, you can also work