On Apr 4, 2005 10:43 PM, Alan Gauld <[EMAIL PROTECTED]> wrote: > > Its not really the simplest, its not efficient and it might be > dangerous > if the file is not empty. At the very least open using 'a' to avoid > obliterating the file!! > > However the os.stat function and stat module do what you want safely > and more comprehensively: > ... > ...
Thanks a lot, Alan. This is new to me. -- With best wishes! Shidai _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor