#title Python-Tip !pip install bt --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org SSL인증서 문제 * https://yooloo.tistory.com/22 * https://couplewith.tistory.com/316 bytes 다루기 * https://stackoverflow.com/questions/20024490/how-to-split-a-byte-string-into-separate-bytes-in-python * https://stackoverflow.com/questions/34009653/convert-bytes-to-int {{{ import snappy str_data = 'E40704790019010001190B0501... 16진수' data = bytes.fromhex(str_data) config_data = snappy.uncompress(data) split_unit = 4 info = [int.from_bytes(config_data[i:i+split_unit], "little") for i in range(0, len(config_data), split_unit)] }}}