attributeError: 'bytes' object has no attribute 'bytes'
(b'\a0\86\01\00').bytes(4,'little')
python3 运行这行代码居然会报这个错 attributeError: 'bytes' object has no attribute 'bytes'
好难啊
怎么会bytes没有bytes属性
bytes 只负责以字节序列的形式(二进制形式)来存储数据,
你这是什么骚操作,话说你是为了做什么?
(b'\a0\86\01\00').bytes(4,'little')
你这是想干嘛?
这个错误就是说python找不到对应的对象的属性,导致错误
建议你看下这篇博客python的AttributeError错误