MinDalle_StableDiff/Python310/Lib/test/test_asyncio/echo.py

9 lines
148 B
Python
Raw Permalink Normal View History

2022-09-17 15:26:13 +03:00
import os
if __name__ == '__main__':
while True:
buf = os.read(0, 1024)
if not buf:
break
os.write(1, buf)