Python: 10進数整数を2進数文字列に変換する関数 2008/8/4 Python 2進数文字列を10進数整数に変換する関数int()はありますが、 >>> int('1011', 2) 11 その逆の、10進数整数を2...