#python #anaconda #jupyter-notebook #visual-code #html #css #javascript #http

제목[re]file예제_인터넷file 읽기2021-10-26 14:19
작성자

import urllib.request

import ssl


context = ssl._create_unverified_context()

url="http://robjhyndman.com/tsdldata/ecology1/hopedale.dat"

webpage = urllib.request.urlopen(url, context=context)


상단의 코드를 다음과 같이 수정하여 실행해 보시기 바랍니다.

현재 해당 사이트의 ssl 인증서 관련 이슈가 있는 것으로 생각됩니다. 


참고 사이트 : https://gentlesark.tistory.com/57

댓글