cpython/Lib/test/test_asyncio/echo.py

7 lines
110 B
Python

import os
if __name__ == '__main__':
while True:
buf = os.read(0, 1024)
os.write(1, buf)