#!/usr/bin/env bash # 使用 dunhe_dataServer 的 venv 运行 validate.py # 用法: ./run.sh 中远海控 [日|周|月] [--save] [--no-show] [--date 20260120] PYTHON="../dunhe_dataServer/.venv/Scripts/python.exe" # Linux/macOS fallback if [ ! -f "$PYTHON" ]; then PYTHON="../dunhe_dataServer/.venv/bin/python" fi "$PYTHON" validate.py "$@"