
3-7 강의에서 requests라이브러리 설치 후 코드 실행하면 에러가 납니다.
작성한 코드 및 에러 메세지
import requests # requests 라이브러리 설치 필요
r = requests.get('http://spartacodingclub.shop/sparta_api/seoulair')
rjson = r.json()
rows = rjson['RealtimeCityAir']['row']
print(rows)
mand+A) 단축키로 코드를 한 번에 선택할 수 있어요!
