首页> 开发问题 >其它问题 其它问题
Python问题:SyntaxError: Non-ASCII character '\xe2' in file
作者:小萝卜 2019-12-02 【 其它 】 浏览 1940
简介Python问题:SyntaxError: Non-ASCII character '\xe2' in file
解决方法:
在python文件头追加:
# -*- coding: utf-8 -*
很赞哦! (0)
相关文章
- 报错:configure: error: no acceptable C compiler found in $PATH
- idea maven 报-source 1.5 中不支持 diamond 运算符
- Mapreduce报错:java.lang.ClassNotFoundException: Class Mapper not found
- windows10 onenote 显示英文 怎么办?
- GitHub 上传文件过大报错:remote: error: GH001: Large files detected.
- 异常解决:util.NativeCodeLoader: Unable to load native-hadoop library for your platform
- 报错:maven:java.lang.NoClassDefFoundError: org/apache/commons/io/Charsets
- bash: hadoop:command not found
- git中报unable to auto-detect email address
- clion ctrl+鼠标左键不能调到函数实现
