摘要:
Python做图形用户界面(GUI)开发时经常要在界面上显示中文,需要做如下处理(详见[1]和[2]2.3节):在py文件的首行写上:# -- coding:utf-8 --保存py文件时要存为utf-8格式文件。[1] Python2.6 Documentation: The Python Language Reference: 2.1.4 Encoding declarations[2] 孙广... 阅读全文
posted @ 2014-03-18 08:15
leechau
阅读(215)
评论(0)
推荐(0)

浙公网安备 33010602011771号