bat 启动 Python 虚拟环境运行 .py 脚本 call ..\venv\Scripts\activate.bat python main.py cd /d %~dp0 call venv\Scripts\activate.bat python main.py exit