On Wed, Jan 27, 2010 at 6:57 PM, Alan Gauld <alan.ga...@btinternet.com> wrote: > read() functions usually have an optional buffersize parameter > set to a "reasonable" size. If you try to read more than that it > will be truncated. This is explained in the read() documentation > for files.
?? files have a buffer size that sets how much is read from the disk at once; I don't think it affects how much is read by file.read(). The docs for that say, "If the size argument is negative or omitted, read all data until EOF is reached." Kent _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor