1、定义和用法. encode() 方法使用指定的编码对字符串进行编码。如果未指定编码,则将使用UTF-8。 · 2、调用语法. string.encode(encoding=encoding, ...
確定! 回上一頁