Download Algorithms/SCSGL/scSGL/notebooks/project_path.py from RoyalConceptEnterprise/webgenie: direct link, hf CLI and curl.
- Browser
- Download file 141 Bytes
-
https://huggingface.co/RoyalConceptEnterprise/webgenie/resolve/main/Algorithms/SCSGL/scSGL/notebooks/project_path.py
- Command line
-
hf download hf://RoyalConceptEnterprise/webgenie/Algorithms/SCSGL/scSGL/notebooks/project_path.py
-
curl -L -o project_path.py https://huggingface.co/RoyalConceptEnterprise/webgenie/resolve/main/Algorithms/SCSGL/scSGL/notebooks/project_path.py
141 Bytes
| import sys | |
| import os | |
| module_path = os.path.abspath(os.path.join(os.pardir)) | |
| if module_path not in sys.path: | |
| sys.path.append(module_path) |