Python bytes.fromhex()

사용 버전: Python 3.6.8
사용 프로그램: Atom 1.38.2 x64


파이썬 bytes.fromhex()에 대해서 알아보겠습니다.

괄호 안에는 bytes 형식으로 바꿀 hex 숫자가 들어갑니다.

bytes.fromhex()은 hex 숫자에 '\x'를 붙여 bytes 형식으로 변형합니다.










끝.



카테고리: Standard Library, Python



댓글

이 블로그의 인기 게시물

Python urllib.parse.quote()

Android Notification with Full Screen

KiCad 시작하기 4 (기존 회로도 수정 및 추가)

KiCad 시작하기 3 (새로운 소자 추가하기)

딩기 요트 명칭

tensorflow tf.expand_dims()

Android App architecture: State holders and UI state

Android Room database FTS

외동 휴게소(부산 방향) 추천 메뉴

KiCad 시작하기 2 (PCB 만들기)