start_3001.sh 182 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 #!/bin/bash cd "$(dirname "$0")" echo "当前目录: $(pwd)" echo "Python版本: $(python3 --version)" echo "正在启动HTTP服务器在端口3001..." python3 -m http.server 3001