wexpect-venv/tests/lines_printer.py

15 lines
316 B
Python
Raw Permalink Normal View History

'''
This is is a very basic stdio handler script. This is used by python.py example.
'''
import time
# Read an integer from the user:
print('Give a small integer: ', end='')
num = input()
# Wait the given time
for i in range(int(num)):
print('waiter ' + str(i))
time.sleep(0.2)
print('Bye!')