O
O
oventarb2015-04-17 13:30:27
Python
oventarb, 2015-04-17 13:30:27

Why can't you do ^Z at the end of a line?

Why, if you do sys.stdin.read(), and type Ctrl-Z at the end of the last line, then it is not considered? How to fix it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
bobrovskyserg, 2015-04-17
@oventarb

Because it's a wrapper over the Windows input function.
You can fix it by patching Windows.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question