1
我正在使用python 3.5.2我無法在標題中顯示正確的unicode。如何將unicode添加到python標題?
import ctypes
ctypes.windll.kernel32.SetConsoleTitleA(b"Console Nano - v0.2a - developed by L"+u'\u00e8'+"la Null")
我不斷收到TypeError: can't concat bytes to str
我希望它在讀取結束Lèla
。 我不確定這是否是問題的一部分,但我正在使用BATCH文件來啓動此腳本。
哇,我從來沒有想過這件事。我有錯誤的unicode字符,但我認爲現在可以解決錯誤消失了。 –