Python urllib.request.urlopen().read()
사용 버전 : Python 3.6.8
사용 프로그램 : Atom 1.35.1 x64
파이썬 urllib.request.urlopen().read()에 대해서 알아보겠습니다.
괄호 안에는 숫자가 들어갑니다.
urllib.request.urlopen().read()는 연결된 웹 페이지의 HTML을 읽습니다.
괄호 안에 숫자를 적지 않으면, 전체 데이터를 읽습니다.


숫자는 읽을 데이터양을 정해줍니다.


open().read()와 유사합니다.
끝.
카테고리: Python, urllib
댓글
댓글 쓰기
궁금한 점은 댓글 달아주세요.
Comment if you have any questions.