def printpacket(pkt):
    for c in pkt:
        sys.stdout.write(struct.unpack("B",c)[0] % "%02x ")
    print
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/pybluez/examples/advanced/inquiry-with-rssi.py/printpacket/swapped operands of `%`