On Fri, May 14, 2010 at 15:23, Nobody <nob...@nowhere.com> wrote: > On Fri, 14 May 2010 10:50:49 -0400, J wrote: > >> someone smarter than me can correct me, but file.write() will write when >> it's buffer is filled, or close() or flush() are called. > > And, in all probability, seek() will either flush it immediately or cause > the next write() to flush it before writing anything.
Ahhh... I didn't know that... I thought seek() just moved the pointer through the file a little further.... Cool. -- http://mail.python.org/mailman/listinfo/python-list