#!/bin/bash cd "$(dirname "$0")" echo "当前目录: $(pwd)" echo "Python版本: $(python3 --version)" echo "正在启动HTTP服务器在端口3001..." python3 -m http.server 3001