ASPN ActiveState Programmer Network
  ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups | Web Services
SEARCH
advanced | search help

Reference
ActivePython 2.4
Python Documentation
Language Reference
2. Lexical analysis
2.1 Line structure
2.2 Other tokens
2.3 Identifiers and keywords
2.4 Literals
2.5 Operators
2.6 Delimiters

MyASPN >> Reference >> ActivePython 2.4 >> Python Documentation >> Language Reference >> 2. Lexical analysis
ActivePython 2.4 documentation


2.5 Operators

The following tokens are operators:

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

The comparison operators <> and != are alternate spellings of the same operator. != is the preferred spelling; <> is obsolescent.

See About this document... for information on suggesting changes.

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState 2004 All rights reserved