Download fixtures/seed_project/export.py from tailot/lingologos-thinkingpython: direct link, hf CLI and curl.
- Browser
- Download file 298 Bytes
-
https://huggingface.co/datasets/tailot/lingologos-thinkingpython/resolve/main/fixtures/seed_project/export.py
- Command line
-
hf download hf://datasets/tailot/lingologos-thinkingpython/fixtures/seed_project/export.py
-
curl -L -o export.py https://huggingface.co/datasets/tailot/lingologos-thinkingpython/resolve/main/fixtures/seed_project/export.py
298 Bytes
| def columns(rows_=[]): | |
| names = [] | |
| for row in rows_: | |
| names.append(row[0]) | |
| return names | |
| def limit(rows_n: int): | |
| return rows_n * 500 | |
| def ready(sheet): | |
| if sheet.get('built'): | |
| return sheet['name'] | |
| return '' | |
| def name(sheet): | |
| return 'sheet ' + sheet['name'] | |