Atom에서 파이썬 한글 인코딩 선언

Chris·2019년 7월 12일
0

Atom에서 파이썬 코딩할 때 한글 인코딩

import sys
import io

sys.stdout = io.TextIOWrapper(sys.stdout.detach(), encoding = 'utf-8')
sys.stderr = io.TextIOWrapper(sys.stderr.detach(), encoding = 'utf-8')
profile
올드보이 코더

0개의 댓글