Download .venv/lib/python3.12/site-packages/cv2/load_config_py3.py from FaustDerLegende/split: direct link, hf CLI and curl.
- Browser
- Download file 244 Bytes
-
https://huggingface.co/datasets/FaustDerLegende/split/resolve/main/.venv/lib/python3.12/site-packages/cv2/load_config_py3.py
- Command line
-
hf download hf://datasets/FaustDerLegende/split/.venv/lib/python3.12/site-packages/cv2/load_config_py3.py
-
curl -L -o load_config_py3.py https://huggingface.co/datasets/FaustDerLegende/split/resolve/main/.venv/lib/python3.12/site-packages/cv2/load_config_py3.py
244 Bytes
| # flake8: noqa | |
| import os | |
| import sys | |
| if sys.version_info[:2] >= (3, 0): | |
| def exec_file_wrapper(fpath, g_vars, l_vars): | |
| with open(fpath) as f: | |
| code = compile(f.read(), fpath, 'exec') | |
| exec(code, g_vars, l_vars) | |