python how to put binary numbers code example Example: python binary representation of numbers # get integer version of binary number int(bin(8)[2:])