首页> 开发问题 >其它问题 其它问题
Python问题:SyntaxError: Non-ASCII character '\xe2' in file
作者:小萝卜 2019-12-02 【 其它 】 浏览 1712
简介Python问题:SyntaxError: Non-ASCII character '\xe2' in file
解决方法:
在python文件头追加:
# -*- coding: utf-8 -*
很赞哦! (0)
相关文章
- 报错:configure: error: no acceptable C compiler found in $PATH
- Python运行语法错误:IndentationError: unindent does not match any outer indentation level
- bash: hadoop:command not found
- 关于windows10上的sourcetree突然打不开的问题的解决策略
- Unreachable statement
- ImportError: cannot import name 'BaseDataset' from 'src.dataset'
- pycharm无法识别自己的文件夹的程序
- 心路历程——毕设程序mr跑不通的问题
- idea maven 报-source 1.5 中不支持 diamond 运算符
- TypeError: 'newline' is an invalid keyword argument for this function 错误解决