file.read() doesn't read the whole file

Steve Holden steve at holdenweb.com
Sat Mar 21 07:41:52 EDT 2009


Sreejith K wrote:
> The break and continue problem was actually my own mistake. I wrote
> no_blks = length/4096 + 1, so the loop actually executes twice. Sorry
> for my idiotic mistake....
> 
That's good!

> But the read() problem still persists.....
> 
Try and write an example that shows the problem in fifteen lines or
less. Much easier for us to focus on the issue that way.

regards
 Steve
-- 
Steve Holden           +1 571 484 6266   +1 800 494 3119
Holden Web LLC                 http://www.holdenweb.com/
Want to know? Come to PyCon - soon! http://us.pycon.org/




More information about the Python-list mailing list