[Tutor] Binary

Timothy M. Brauch tbrauch@mindless.com
Fri, 11 May 2001 21:21:20 -0400


Okay, I know hex(x) will display x in hexadecimal and oct(x) will
display x in octal, but how do I display x in binary?  I've tried
seraching the python docs, but a search on binary turns up more on
binary distributions and a search on base turns up stuff about base
classes.

And another (hopefully) quick question, if & is a bit-wsie and, what
does the command 'and' do?

 - Tim