Convert binary file
Diez B. Roggisch
deets at nospam.web.de
Mon Mar 17 22:53:11 CET 2008
> Specifically, I'm trying to convert the Internet Explorer history
> file (index.dat) into a readable format. Anyone done something
> similar or know of any functions that may help with such a task? I'm
> not sure exactly what kind of file the index.dat is, it is some kind
> of binary file. I have tried some of the binascii functions (http://
> docs.python.org/lib/module-binascii.html) without any luck.
You have to have a definition of the format or reverse engineer it. If
you have done that, you can use the module struct.
But there is no generic way to infer how a binary format is built.
More information about the Python-list