Python translate()



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


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




괄호 안에는 dict 형식이 들어갑니다.

translate()는 문자를 대응되는 문자로 변경해줍니다.












위와 같이, 각 영어에 대응하여 한글로 변환되었습니다.



끝.



카테고리: Standard Library, Python​

댓글

이 블로그의 인기 게시물

Python urllib.parse.quote()

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

Forensics .pyc 파일 .py로 복구하기

Android Notification with Full Screen

iOS Error Undefined symbol Testing.Trait

Android Compose Coil library

iOS Swift callAsFunction

KiCad 시작하기 1 (회로도 만들기)

황전 휴게소(순천 방향) 추천 메뉴

Android Compose automation for getting localized images to use on Play Store app image