ord() 함수는 유니코드 문자를 나타내는 정수를 반환합니다.
유니코드 문자를 나타내는 정수를 반환합니다.
print(ord('5')) # 53 print(ord('A')) # 65 print(ord('$')) # 36
결과
53 65 36
11 Python에서 exception이 생긴 라인 숫자값을 어떻게 구할 수 있나요?
13 파이썬에서 파일 다운로드 하는 방법
12 python에서 에러가 생겨도 계속 실행하는 방법
14 FastApi에서 에러가 뜨는데 ERROR: Error loading ASGI app. Import string "main" must be in format ":". 해결 방법
13 Pytube 쓸 때 pytube.exceptions.RegexMatchError: get_throttling_function_name: could not find match for multiple 에러 해결방법
© 2022 pinfo. All rights reserved.