fp = open('xxx.stdf', 'rb')#读取stdf文件,以二进制形式打开
data = fp.read()
with open('xxx.bin', 'wb') as output_file:
output_file.write(data)#保存文件
Python-以二进制形式读取STDF
最新推荐文章于 2024-12-17 22:29:15 发布
fp = open('xxx.stdf', 'rb')#读取stdf文件,以二进制形式打开
data = fp.read()
with open('xxx.bin', 'wb') as output_file:
output_file.write(data)#保存文件