The encoding method needs to be specified to get a bytes object from the string, as shown below. Example: Convert String to Bytes. Copy. print(bytes( ...
確定! 回上一頁