Jean-Paul Calderone wrote: > A better solution is to name or place files which are begin written in a > which is recognizable and only rename or move them to their final location > when they have been completely written. > > For example, name files ".new" as they are being written. When they are > fully written, drop the ".new" suffix. On the reader side, ignore any > file with a name ending in ".new".
Yes, that would work very neatly but I don't have any control over the writing process. I think the modification time route might be the best option, but thanks to all for their replies. -- I'm at CAMbridge, not SPAMbridge -- http://mail.python.org/mailman/listinfo/python-list