Jetbrains全系列IDE使用 1年只要46元 售后保障 童叟无欺
一个极小的问题。在python代码中,用了中文注释,不能被python解释器理解(python 2.5)。解决方案是:

#
coding=gb2312


‘ok’
#
中文注释没问题
或者:

#
-*- coding: gb2312 -*-


‘
ok
‘
#
这样也行
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/172380.html原文链接:https://javaforall.net
