把提示字符串強制爲 gbk 編碼就好, unicode 和 utf-8 都不可以。 # encoding:utf-8 s = raw_input(u"請輸入中文漢字:".encode('gbk ...
確定! 回上一頁