这是我的代码z = (priv.to_string().encode('hex')) ,我收到此错误:
z = (priv.to_string().encode('hex'))
"AttributeError: 'bytes' object has no attribute 'encode'"
看起来我错过了在代码后显示“编码”的内容:
z = (priv.to_string().
python
python ×1