Download test.py from wuttichaimoo/Full_APP_NCD_v2: direct link, hf CLI and curl.
- Browser
- Download file 418 Bytes
-
https://huggingface.co/wuttichaimoo/Full_APP_NCD_v2/resolve/main/test.py
- Command line
-
hf download hf://wuttichaimoo/Full_APP_NCD_v2/test.py
-
curl -L -o test.py https://huggingface.co/wuttichaimoo/Full_APP_NCD_v2/resolve/main/test.py
418 Bytes
| import subprocess | |
| import os | |
| # ระบุพาธของ Python interpreter ใน virtual environment | |
| python_path = os.path.join(os.getcwd(), "env", "Scripts", "python.exe") | |
| # ตรวจสอบ environment variables ที่ถูกตั้งค่าใน virtual environment | |
| proc1 = subprocess.Popen([python_path, "Dashboard_for_sum_work_2025.py"],shell=True, env=os.environ.copy()) | |
| proc1 | |