As a self-taught python hobbyist, how would I go about learning to import and export binary files using standard formats?
I\'d like to implement a script that takes
You should probably start with the struct module, as you pointed to in your question, and of course, open the file as a binary.
Basically you just start at the beginning of the file and pick it apart piece by piece. It's a hassle, but not a huge problem. If the files are compressed or encrypted, things can get more difficult. It's helpful if you start with a file that you know the contents of so you're not guessing all the time.
Try it a bit, and maybe you'll evolve more specific questions.