Download example-done/solution/solve.py from InkedWings/community-tasks: direct link, hf CLI and curl.
- Browser
- Download file 146 Bytes
-
https://huggingface.co/datasets/InkedWings/community-tasks/resolve/main/example-done/solution/solve.py
- Command line
-
hf download hf://datasets/InkedWings/community-tasks/example-done/solution/solve.py
-
curl -L -o solve.py https://huggingface.co/datasets/InkedWings/community-tasks/resolve/main/example-done/solution/solve.py
146 Bytes
| import json | |
| from pathlib import Path | |
| Path('/root/results').mkdir(parents=True, exist_ok=True) | |
| Path('/root/results/answers.json').write_text('[]') | |