python short conditional?

Christos TZOTZIOY Georgiou tzot at
Wed Sep 3 13:40:44 CEST 2003

On Wed, 03 Sep 2003 01:16:45 +0100, rumours say that Pieter Claassen
<pieter at> might have written:

>I am looking to find a short conditional for python equivalent
>to the perl question mark operator 
>statement? if true:else false
>Any recommendations on this?

See Python FAQ:

See also what is true and what is false in Python:
TZOTZIOY, I speak England very best,
Microsoft Security Alert: the Matrix began as open source.

More information about the Python-list mailing list