FrontPage

byteからintに

data=b'\x7e'
a=int.from_bytes(data,bteorder='big')
print(a)
b=bin(a)
c=data.decode()

byte列からintに

a=b'\x34'
b=b'\x35'
c=a+b
int(c)

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2015-01-16 (金) 16:30:00 (3389d)