Download python/pybind11/tests/test_embed/test_interpreter.py from camenduru/ncnn: direct link, hf CLI and curl.
- Browser
- Download file 237 Bytes
-
https://huggingface.co/camenduru/ncnn/resolve/main/python/pybind11/tests/test_embed/test_interpreter.py
- Command line
-
hf download hf://camenduru/ncnn/python/pybind11/tests/test_embed/test_interpreter.py
-
curl -L -o test_interpreter.py https://huggingface.co/camenduru/ncnn/resolve/main/python/pybind11/tests/test_embed/test_interpreter.py
237 Bytes
| import sys | |
| from widget_module import Widget | |
| class DerivedWidget(Widget): | |
| def __init__(self, message): | |
| super().__init__(message) | |
| def the_answer(self): | |
| return 42 | |
| def argv0(self): | |
| return sys.argv[0] | |