i am trying to learn python as i go, but i have come to a brick wall.
i am just trying to extract certain offsets in a .bin file.
i have a bin file with a length of “00FFFFF0”
lets say i want to extract from “0x3F000” with a block size of “0x800” and then put that in a file how would i go about it? i dont have any code yet and am hoping i will get some good input. i am a beginner to python (been doing it for a few months) and would like to learn how to do this really just for educational purposes.
but the point is i want to be able to extract specific (offset;block size)
i hope you understand what i mean. and i very much appreciate any help i am given. thanks
It’s pretty self-explanatory, actually: