一个极小的问题。在python代码中,用了中文注释,不能被python解释器理解(python 2.6)。
解决方案是:
coding=gb2312print ‘ok’ #中文注释没问题或者:
-- coding: gb2312 --pri
2009-03-24