>> 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."
Oops, wrong again! :-) But the comment re urllib.read() still seems apropos. Alan G. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor