1. 简介python 读写文件的二进制数据需要使用到struct模块,进行c/c++与python数据格式的转换。2. struct模块介绍struct模块中最常用的函数为pack和unpack,用法如下:函数returnexplainp...