Files
pricing_review/release/testdata/启动testdata.bat

14 lines
493 B
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@echo off
chcp 936 >nul
title testdata - 测试数据生成器
cd /d "%~dp0"
rem 优先用母体绿色包自带 python(包改名也能找到)
set PY=
for /d %%D in ("%~dp0..\PricingReview*") do if exist "%%~fD\python\python.exe" set PY=%%~fD\python\python.exe
if "%PY%"=="" if exist "%~dp0..\PricingReview-Windows-x64\python\python.exe" set PY=%~dp0..\PricingReview-Windows-x64\python\python.exe
if "%PY%"=="" set PY=python
echo 使用 Python: %PY%
echo 控制台地址: http://127.0.0.1:8412
"%PY%" panel_server.py
pause