open() and EOFError
python.list at tim.thechases.com
Tue Jul 8 18:40:03 CEST 2014
On 2014-07-09 01:24, Chris Angelico wrote:
> I can't think of any Windows-native programs that ask for EOF. Only
> those which came from POSIX platforms do it. That said, though,
> Windows doesn't tend to encourage interactive command-line programs
> at all, so you may as well just follow the Unix convention.
And within the last 10 minutes doing some work on a Win32 box, I
noticed that both the "wmic" console (standard since at least XP I
believe) and Python use EOF to quit (both provide alternate methods of
quitting, but EOF is fast & easy).
More information about the Python-list