How do you make Python wait so that you can read the output?
Posted
by anonnoir
on Stack Overflow
See other posts from Stack Overflow
or by anonnoir
Published on 2010-03-01T15:00:08Z
Indexed on
2010/03/12
5:07 UTC
Read the original article
Hit count: 231
I've always been a heavy user of Notepad2, as it is fast, feature-rich, and supports syntax highlighting. Recently I've been using it for Python.
My problem: when I finish editing a certain Python source code, and try to launch it, the screen disappears before I can see the output pop up. Is there any way for me to make the results wait so that I can read it, short of using an input() or time-delay function? Otherwise I'd have to use IDLE, because of the output that stops for you to read.
(My apologies if this question is a silly one, but I'm very new at Python and programming in general.)
© Stack Overflow or respective owner