Discuss / Python / IDE 编写报错

IDE 编写报错

Topic source

用 Intellij 编写 demo 需要包装一下

f.write(unicode('hello'))

廖雪峰

#2 Created at ... [Delete] [Delete and Lock User]

跟IDE没有关系,但是你需要配置IDE默认保存的编码是UTF-8


  • 1

Reply