SyntaxError: Non-UTF-8 code starting with '\xe5' in file E:/2020-竞赛/CCKS/ccks_python/propress_data.py on line 20, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
编码格式错误,在程序第一行加入:
#coding:utf-8
即可解决问题
SyntaxError: Non-UTF-8 code starting with '\xe5' in file E:/2020-竞赛/CCKS/ccks_python/propress_data.py on line 20, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
编码格式错误,在程序第一行加入:
#coding:utf-8
即可解决问题