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.00s 2012-02-12 01:28:39.802036. hosted by webfaction.