+ 1

How to pause program in python 3.4 Android qpython 3.4

6th Sep 2016, 2:04 PM
MeoQ
MeoQ - avatar
2 Réponses
+ 2
you could add an input like: pause = input("press a key to continue: ")
6th Sep 2016, 4:07 PM
Hymn
Hymn - avatar
+ 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.
6th Nov 2016, 4:06 PM
Kirk Schafer
Kirk Schafer - avatar