On Wed, 03 Mar 2010 15:30:36 +0000, Grant Edwards wrote: > I definitely remember that old MS-DOS programs would treat Ctrl-Z as an > EOF marker when it was read from a text file and would terminate a text > file with a Ctrl-Z when writing one.
I believe that Windows (at least up to Windows XP) still supports using ctrl-Z as EOF when reading text files. -- Steven -- http://mail.python.org/mailman/listinfo/python-list