Search for a string in binary files

hokieghal99 hokiegal99 at hotmail.com
Mon Jul 21 17:19:59 EDT 2003


Hello,

How could I use python to search for a string in binary files? From the 
command line, I would do something like this on a Linux machine to find 
this string:

grep -a "Microsoft Excel" *.xls

How can I do this in Python?





More information about the Python-list mailing list