Docstrings considered too complicated
Alf P. Steinbach
alfps at start.no
Wed Mar 3 11:14:29 EST 2010
* Steven D'Aprano:
> 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.
It does, at least when the Ctrl Z is the sole contents of a "line".
And it's a pain. :-(
As a practical matter, when entering text in a console window the F6 key
generates Ctrl Z.
Cheers,
- Alf
More information about the Python-list
mailing list