Python SyntaxError: Non-ASCII character in file on, but no encoding declared


Python SyntaxError: Non-ASCII character in file on,  but no encoding declared

Python 에서 코딩을 잘하고 있다가 한글을 사용하는 경우 "SyntaxError: Non-ASCII character, but no encoding declared" 가 발생한다. 이 경우 py 파일의 최상단에 encoding type을 선언해주면 해결된다. 수정..

Python SyntaxError: Non-ASCII character in file on, but no encoding declared에 대한 요약내용입니다.

자세한 내용은 아래에 원문링크를 확인해주시기 바랍니다.


원문링크 : Python SyntaxError: Non-ASCII character in file on, but no encoding declared