You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
216 B
Python
14 lines
216 B
Python
6 years ago
|
#!/usr/bin/env python
|
||
|
# I produce text every 100ms, for testing mitogen.core.iter_read()
|
||
|
|
||
|
import sys
|
||
|
import time
|
||
|
|
||
|
|
||
|
i = 0
|
||
|
while True:
|
||
|
i += 1
|
||
|
sys.stdout.write(str(i))
|
||
|
sys.stdout.flush()
|
||
|
time.sleep(0.1)
|