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

댓글

이 블로그의 인기 게시물

Python OpenCV 빈 화면 만들기

Python urllib.parse.quote()

Python bytes.fromhex()

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

Android Minimum touch target size

Android Notification with Full Screen

Free privacy

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

tensorflow tf.expand_dims()

Android AVD Ram size change