TypeError : re.findall ()의 바이트 열류 객체에 문자열 패턴을 사용할 수 없습니다. 페이지에서 URL을 자동으로 가져 오는 방법을 배우려고합니다. 다음 코드에서 웹 페이지의 제목을 얻으려고합니다. import urllib.request import re url = "http://www.google.com" regex = r'(,+?)' pattern = re.compile(regex) with urllib.request.urlopen(url) as response: html = response.read() title = re.findall(pattern, html) print(title) 그리고이 예기치 않은 오류가 발생합니다. Traceback (most recent call las..