Soundwave <maybe at lucky.com> wrote: > how can I check EOF in python ??? read/readline returns an empty string when you reach the end of the file. for more info, read the fine manual: http://www.python.org/doc/current/lib/typesother.html => file objects </F>