Would operator.and_(a, b) work?

http://docs.python.org/library/operator.html

Reply via email to