Python encode ()方法以encoding指定的編碼格式編碼字符串。 errors參數可以指定不同的錯誤處理方案。 ... print "Encoded String: " + str.encode('base64','strict').
確定! 回上一頁