+ 1
How to pause program in python 3.4 Android qpython 3.4
2 ответов
+ 2
you could add an input like:
pause = input("press a key to continue: ")
+ 2
From program code:
time.sleep(seconds)
seconds is a float.
If ALREADY running:
For QPython use Hacker's Keyboard (full keyboard for Android; arrow keys, specials, etc; Home works like it's supposed to)
Ctrl-S stops console scrolling in Linux and probably Mac (BeOS-based). I don't have OSX to check at the moment.
Ctrl-Q resumes.
Ctrl-Z will push the program into the background and return you to the shell. It becomes a 'stopped job' and is resurrected with 'fg' (foreground). 'jobs' will list stopped jobs in case there's more than one.