summaryrefslogtreecommitdiff
path: root/Lib/test/test_asyncio/echo.py
blob: 006364bb007b0f1284e879a9020d7e5e3c134b43 (plain)
1
2
3
4
5
6
7
8
import os

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