Boolean operations in descending order of priority are 'or', 'and', then 'not'.
This can be found in Python's online library reference:
True and False are values. In 2.2 they are simply integer values. Python 2.3 adds the 'bool type This alters their string representation, but they are still essentially integer values. For more information on the bool type coming in 2.3 see:
Finally, one of the best places to ask these questions is the python-tutor list. You can join this mailing list from it's mailman page at:
Hope that helps!