The not operator

The operator not yields True if its argument is false, False otherwise.

Syntax:

not

In the context of Boolean operations, and also when expressions are used by control flow statements, the following values are interpreted as false: False, None, numeric zero of all types, and empty strings and containers (including strings, tuples, lists, dictionaries, sets and frozensets). All other values are interpreted as true.

 

A Django site. this page was rendered by a django application in 0.01s 2009-01-09 00:54:15.866248. hosted by webfaction.