On Tue, 17 Jul 2007 14:09:35 +0300, mosi <[EMAIL PROTECTED]> wrote: > > Problem: > how to get binary from integer and vice versa? > The simplest way I know is: > a = 0100 > a > 64
Also that is not binary - that is octal, binary would be: '01000000' (denoted as a string, since 01000000 in octal is actually 262144 in decimal. -- http://mail.python.org/mailman/listinfo/python-list