擅长:python、mysql、java
<p>为了完整起见,也为了将来读者了解这个问题:</p>
<p>从Python 3.2开始,有一些函数<a href="https://docs.python.org/3/library/stdtypes.html#int.from_bytes" rel="nofollow">^{<cd1>}</a>和<a href="https://docs.python.org/3/library/stdtypes.html#int.to_bytes" rel="nofollow">^{<cd2>}</a>以字节顺序的选择执行<code>bytes</code>和<code>int</code>对象之间的转换。</p>