Download ExcessiveMotion_controller-software/controller-firmware/python/src/main.py from SAIFIINDUSTRIES/verilog_data-2: direct link, hf CLI and curl.
- Browser
- Download file 253 Bytes
-
https://huggingface.co/datasets/SAIFIINDUSTRIES/verilog_data-2/resolve/main/ExcessiveMotion_controller-software/controller-firmware/python/src/main.py
- Command line
-
hf download hf://datasets/SAIFIINDUSTRIES/verilog_data-2/ExcessiveMotion_controller-software/controller-firmware/python/src/main.py
-
curl -L -o main.py https://huggingface.co/datasets/SAIFIINDUSTRIES/verilog_data-2/resolve/main/ExcessiveMotion_controller-software/controller-firmware/python/src/main.py
253 Bytes
| import os, json | |
| # create required files for a given build config | |
| def generate_config(build_config_path:str): | |
| # make sure config file exists | |
| if not os.path.exists(build_config_path): | |
| print("Config file not found") | |
| return | |