how to do reading of binary files?

jvdb streamservenl at gmail.com
Fri Jun 8 08:03:12 EDT 2007


Hi all,

I need some help on the following issue. I can't seem to solve it.

I have a binary (pcl) file.
In this file i want to search for specific codes (like <0C>). I have
tried to solve it by reading the file character by character, but this
is very slow. Especially when it comes to files which are large
(>10MB) this is consuming quite some time.
Does anyone has a hint/clue/solution on this?

thanks already!

Jeroen




More information about the Python-list mailing list