1、struct.unpack(format, buffer)
```
~~~
struct.unpack('>IH', '\xf0\xf0\xf0\xf0\x80\x80')
(4042322160, 32896)
~~~
根据`>IH`的说明,后面的`str`依次变为`I`:4字节无符号整数和`H`:2字节无符号整数。
```
- Python 环境
- Python 安装
- IDE
- 包安装
- Anaconda
- WinPython
- eclipse
- eclipse安装
- pydev安装
- 常用英汉
- emmet
- base
- list
- 包 模块 导入
- 查看版本
- dir()
- type 数据类型
- if
- while for
- 迭代器和生成器
- + 和 +=
- numpy
- 体质指数
- 版本
- np数组属性
- 子集
- 数据创建
- 基本操作
- plot
- 中文显示问题
- 随机数
- ::的用法
- asammdf
- 获取所有信号
- 导出csv
- pygraph
- pandas
- 数据结构
- pandans十分钟入门
- io
- 爬小说
- struct
- mdf
- ascii
- bytes & bytearray
- 任务
- aardio读取二进制文件原样输出
- 读取数字
- mdf 数据转换
- charles

