相关疑难解决方法(0)

我应该在Python 3中使用编码声明吗?

默认情况下,Python 3对源代码文件使用UTF-8编码.我还应该在每个源文件的开头使用编码声明吗?喜欢# -*- coding: utf-8 -*-

python encoding utf-8 python-3.x

93
推荐指数
2
解决办法
3万
查看次数

标签 统计

encoding ×1

python ×1

python-3.x ×1

utf-8 ×1