상세 컨텐츠

본문 제목

atom에서 웹 클롤링 한글 깨짐 해결

SW Eng metacog/Coding

by 학이시습불역호아 2020. 4. 16. 09:11

본문

ㅇ 해결 

import sys
import io

sys.stdout = io.TextIOWrapper(sys.stdout.detach(), encoding = 'utf-8')
sys.stderr = io.TextIOWrapper(sys.stderr.detach(), encoding = 'utf-8')

 

ㅇ 문제점 : atom에서 웹 크롤링 시 아래와 같이 깨짐 현상 

 

 

관련글 더보기

댓글 영역