The encode() function encodes the string to the specified encoding and returns it as a bytes object. The string is encoded to UTF-8 by default.
確定! 回上一頁