We're back after a server migration that caused effbot.org to fall over a bit harder than expected. Expect some glitches.

Operator Tokens

The following tokens are operators:

+       -       *       **      /       //      %
<<      >>      &       |       ^       ~
<       >       <=      >=      ==      !=      <>

The comparison operators <> and != are alternate spellings of the same operator. != is the preferred spelling; <> is obsolescent (and will be removed in Python 3.0).