ERROR 삽질

SyntaxError: Non-ASCII character '\xec' in file /home/a307/xycar_ws/src/test_my1/src/sub.py on line 9, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

capaca 2023. 3. 28. 16:04

코드 상단에 

#-*- coding: utf-8-*-
 

아래 내용을 기입해주면 됨