Anders J. Munch wrote: > any file that supports seeking to the end will also support > reporting the file size. Thus > f.seek(f.length) > should suffice,
Although the micro-optimisation circuit in my brain complains that it will take 2 system calls when it could be done with 1... -- Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | Carpe post meridiem! | Christchurch, New Zealand | (I'm not a morning person.) | [EMAIL PROTECTED] +--------------------------------------+ _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
