py文件开头添加一行 #encoding:utf-8 如果还报错。py文件用记事本打开,另存为utf8格式。
#!/usr/bin/env python #-*- coding:utf-8 -*-
37,720
社区成员
34,239
社区内容
加载中
试试用AI创作助手写篇文章吧