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