Download cpython_2/environment/repo/Lib/test/test_asyncio/echo.py from lolbench26/LoLBench: direct link, hf CLI and curl.
- Browser
- Download file 148 Bytes
-
https://huggingface.co/datasets/lolbench26/LoLBench/resolve/main/cpython_2/environment/repo/Lib/test/test_asyncio/echo.py
- Command line
-
hf download hf://datasets/lolbench26/LoLBench/cpython_2/environment/repo/Lib/test/test_asyncio/echo.py
-
curl -L -o echo.py https://huggingface.co/datasets/lolbench26/LoLBench/resolve/main/cpython_2/environment/repo/Lib/test/test_asyncio/echo.py
148 Bytes
| import os | |
| if __name__ == '__main__': | |
| while True: | |
| buf = os.read(0, 1024) | |
| if not buf: | |
| break | |
| os.write(1, buf) | |