number = 128 >>> bytestring = number.to_bytes(2, 'little') >>> print("integer {int} in bytes is {bytes}".format(int=number, ...
確定! 回上一頁