๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

TIL/Linux

SyntaxError: Non-ASCII character '\xeb' in file solution1.py on line 1, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

ํ•œ๊ธ€ ์ธ์ฝ”๋”ฉ ๋ฌธ์ œ

#-*- coding: euc-kr -*-

ํŒŒ์ด์ฌ ํŒŒ์ผ ์ƒ๋‹จ์— ์œ„ ์ฝ”๋“œ(ํ•œ๊ธ€ ์ธ์ฝ”๋”ฉ ๋ช…์‹œํ•ด์ฃผ๋Š” ์ฝ”๋“œ)๋ฅผ ๋ณต๋ถ™ํ•˜๋ฉด ํ•ด๊ฒฐ๋จ