Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
815 views
in Technique[技术] by (71.8m points)

search - Reading and finding data in Binary Files Python

I'm reading in a binary file, and need to find some values in that file. This binary file contains some telemetry data from a satellite and I need to find the data corresponding to their position.

According to a .csv file which describes me the structure of the binary file (picture), I understand that I need to find the data included in the Hexa Address 0x47c, 0x480 and 0x484.

I am quite new to programming in Python and this tasks seems so difficult. I think that may be with re library and trying to find or match that addres is a good way but I am not sure about how to include that addresses.

What's a good way of searching for the value in the binary data? enter image description here

question from:https://stackoverflow.com/questions/65833050/reading-and-finding-data-in-binary-files-python

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...