Xiaoming Zeng: >Is there a method for determine the size of a file? Yes there is. See os.stat() on http://www.python.org/doc/current/lib/module-os.html. -- René Pijlman Wat wil jij leren? http://www.leren.nl