Searching a binary file
luthi at vaw.baug.ethz.NOSPAM.ch
luthi at vaw.baug.ethz.NOSPAM.ch
Tue Jul 25 02:00:54 EDT 2000
Thank you for your reply. This is obvious, but it won't work on large files
(exceeding memory). This is why I read the file in chunks and searched these
chunks. How should I choose the size of these chunks?
Is there a speed issue using string.find() or the regular expression search()?
Martin
--
============================================================
Martin Luethi Tel. +41 1 632 40 92
VAW ETH Zuerich
CH-8092 Zuerich mail luthi at vaw.baum.ethz.ch
Switzerland
============================================================
More information about the Python-list
mailing list