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