Import the base64 module. · Encode the string to bytes using the appropriate encoding (e.g., UTF-8). · Pass the encoded bytes to the base64.
確定! 回上一頁