[ Python ] PyCharm 한글 에러 메시지. 한 줄로 해결하기.


[ Python ] PyCharm 한글 에러 메시지. 한 줄로 해결하기.

Python [ Python ] PyCharm 한글 에러 메시지. 한 줄로 해결하기. 사진찍는 개발자 2017. 12. 26. 23:00 이웃추가 본문 기타 기능 파이썬의 인터프리터 2.7을 파이참에서 사용하던 도중에, 한글을 출력하고자 하니 에러 메시지를 만나게 되었습니다. SyntaxError: Non-ASCII character '\xed' in file /Users/jinsoo_mac/Desktop/Study/PythonGround_2.7/ex01.py on line 17, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details PEP 263 -- Defining Python Source Code Encodings The official home of the Python Programming Language python.org 공식 사이트에서도 문제의 해결책을 알려줍니다. # -*- codi...


#PyCharm #Python #UTF8 #파이썬 #파이참 #한글

원문링크 : [ Python ] PyCharm 한글 에러 메시지. 한 줄로 해결하기.