bit operations with python?
Erik Max Francis
max at alcyone.com
Thu Nov 4 22:16:36 EST 2004
Jason wrote:
> Is it possible to do this sort of thing with python? If so, could
> someone recommend a website with instructions on bit operations?
> Thanks!
Yes. The operators in Python are the same as described by the
challenge. Bitwise and is &, bitwise or is |, and bitwise xor is ^.
--
__ Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
/ \ San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
\__/ All of your moonlight whispers / Counterfeit, counterfeit love
-- Lamya
More information about the Python-list
mailing list