#將字串編碼成unicode str1 = u"今天天氣很好" print(str1) ; 結果: ; 字串前面加上r代表不將特殊字元編譯: ; #將字串中的特殊符號不進行編譯 str2 = r"我\n ...
確定! 回上一頁