[Tutor] Reading Entire File

Perry, George W. gwperry@tva.gov
Tue, 13 Mar 2001 14:09:18 -0500


I want to read the entire contents of a file into a string and then compute
the CRC using crc32() in module zlib. I am using the file method read() to
read the file. It works as expected for text files, but for Microsoft Excel
and Word files, it only reads a few characters. 
How can I read the entire file? 

I have Windogs 95 and Python 2.0.

George Perry