擅长:python、mysql、java
<ol>
<li><p>两者的文档都可以在<a href="https://docs.python.org/3/library/stdtypes.html" rel="nofollow noreferrer">here</a>中找到。搜索'字节.解码'和'str.encode编码'. </p></li>
<li><p>从(1)中明显可见。</p></li>
<li><p>您可以在pythonshell中使用<code>help(<type>)</code>,例如<code>help(str)</code>,以查看可用于相应对象类型的方法(和其他内容)。</p></li>
</ol>