Download lib/python3.9/site-packages/ansi2html/util.py from camenduru/slahmr-test: direct link, hf CLI and curl.
- Browser
- Download file 147 Bytes
-
https://huggingface.co/camenduru/slahmr-test/resolve/main/lib/python3.9/site-packages/ansi2html/util.py
- Command line
-
hf download hf://camenduru/slahmr-test/lib/python3.9/site-packages/ansi2html/util.py
-
curl -L -o util.py https://huggingface.co/camenduru/slahmr-test/resolve/main/lib/python3.9/site-packages/ansi2html/util.py
147 Bytes
| from typing import BinaryIO, List | |
| def read_to_unicode(obj: BinaryIO) -> List[str]: | |
| return [line.decode("utf-8") for line in obj.readlines()] | |