+ 2

Make the script wait

I want to receive an input from the user, make the script wait while i show some information, and then ask for a second input. How can i do that? thanks

14th May 2017, 12:49 PM
Abel G. Azze
Abel G. Azze - avatar
2 Respostas
+ 3
from time import sleep sleep(seconds)
14th May 2017, 11:54 AM
Deep Serket
Deep Serket - avatar
+ 1
#Abel, try this code #with 'clear' option: import time import os tex=range(6) for i in tex: time.sleep(1) os.system('clear') print(i)
4th Oct 2017, 12:55 AM
dimon2101
dimon2101 - avatar