eclipse for python
|
|
居然報(bào)錯(cuò),SyntaxError: Non-ASCII character '\xd6' in file F:\python\src\frist.py on line 2, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
但是在idle中沒有問題,可以輸出。
經(jīng)過google大師的指引,找到一片文章,說要在文件頭加入# -*- coding: gb18030 -*-
才能支持中文。試驗(yàn)了下真的成功了。
相關(guān)文章
網(wǎng)站項(xiàng)目建設(shè)流程概述詳細(xì)分析
網(wǎng)站建設(shè)常見流程圖分析2008-04-04
Windows Vista 零售版改 OEM 版本免激活的原理
Windows Vista 零售版改 OEM 版本免激活的原理...2007-02-02
persits.jpeg.1 Invaild 5th argument, must be a long integer
persits.jpeg.1 Invaild 5th argument, must be a long integer...2007-08-08
MSN Messenger 化繁為簡(用 Visual Studio 2005 去掉 MSN 廣告)
MSN Messenger 化繁為簡(用 Visual Studio 2005 去掉 MSN 廣告)...2007-04-04

