兩種python字串型別之間的轉換. # 從str 轉換成unicode print s.decode('utf-8') # 關關雎鳩# 從unicode 轉換成str print u.encode('utf-8') # 關關雎 ...
確定! 回上一頁