只要在中文前面加上個小u標記,後面的中文就用unicode 存儲了。 # encoding:utf-8 s = u"中文" print s print repr(s). cmd 下是可以列印 ...
確定! 回上一頁