reading and removing first x bytes of a file

bart_nessux bart_nessux at hotmail.com
Thu Apr 29 10:00:54 EDT 2004


Hello,

I have some Macbinary files on a PC. I want to recursively read these 
files and remove the first 128 bytes of the files if they contain the 
macbinary header info. I know how to read directories recursively, but 
how would I read the first 128 bytes of each file in the path?

Thanks,
Bart




More information about the Python-list mailing list