script1 Python 아톰에서 실행방법 & 한글께짐 해결방법 Python 아톰에서 실행방법 & 한글께짐 해결방법Atom >> File >> settings >> Install 에서 아래 두 페키지를 검색하여 설치해 준다autocolplete-pythonscript 설치 후 파이썬 파일을 작성후 Ctrl + Shift + b 를 하면 실행되는데 한글이 석여 있을 경우 께짐이 발생한다 이의 해결법은 아래 코드를 파일 헤더 부분에 추가 해주면 된다. import sysimport io sys.stdout = io.TextIOWrapper(sys.stdout.detach(), encoding = 'utf-8')sys.stderr = io.TextIOWrapper(sys.stderr.detach(), encoding = 'utf-8') cities = ["서울", "부산".. 2018. 9. 26. 이전 1 다음