mirror of
https://github.com/clearml/wexpect-venv
synced 2025-01-31 19:06:56 +00:00
15 lines
316 B
Python
15 lines
316 B
Python
|
'''
|
||
|
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!')
|