首页> 开发问题 >其它问题 其它问题
Python问题:SyntaxError: Non-ASCII character '\xe2' in file
作者:小萝卜 2019-12-02 【 其它 】 浏览 1754
简介Python问题:SyntaxError: Non-ASCII character '\xe2' in file
解决方法:
在python文件头追加:
# -*- coding: utf-8 -*
很赞哦! (0)
相关文章
- GitHub 上传文件过大报错:remote: error: GH001: Large files detected.
- Unreachable statement
- 解决:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile
- 报错:configure: error: no acceptable C compiler found in $PATH
- Python运行语法错误:IndentationError: unindent does not match any outer indentation level
- git中报unable to auto-detect email address
- MATLAB关闭科学计数法显示
- 无法定位程序输入点到xxx.dll
- scp 文件 : /目录: Permission denied
- Python“Non-ASCII character 'xe5' in file”报错问题