在windows下使用报错:
Traceback (most recent call last):
File "D:\8.23.1\Python入门\city1.py", line 4, in <module>
from city import city
File "D:\8.23.1\Python入门\city.py", line 7
SyntaxError: 'gbk' codec can't decode bytes in position 7-8: illegal multibyte sequence
city.py和查询天气的那个py都使用# -*- coding: cp936 -*- 的时候报错,请问大神知道怎么解决吗?