Download size_test2.py from bep40/vaistudio-data: direct link, hf CLI and curl.
- Browser
- Download file 323 Bytes
-
https://huggingface.co/datasets/bep40/vaistudio-data/resolve/main/size_test2.py
- Command line
-
hf download hf://datasets/bep40/vaistudio-data/size_test2.py
-
curl -L -o size_test2.py https://huggingface.co/datasets/bep40/vaistudio-data/resolve/main/size_test2.py
323 Bytes
| import os | |
| # a longer script with backslashes and quotes to test escaping round-trip | |
| lines = [] | |
| for i in range(2000): | |
| lines.append('print("line %d with \\\\ backslash and \' quote" % i)' % i) | |
| lines.append('x = "path\\\\to\\\\file"') | |
| lines.append('y = "a\\"b"') | |
| lines.append('print("done", x, y)') | |
| print("\n".join(lines)) |