我正在尝试运行以下windows批处理文件:
@echo off
CALL workon my_env
CD C:\scripts
SET DataPath = C:\user\data
SET SavePath = C:\results
FOR %DataQuantity IN ( 100 75 60 50 40 33 25 10 ) DO (
FOR %Subject IN ( 1 2 4 5 6 7 8 9 ) DO (
python classifier.py DataQuantity Subject DataPath SavePath
python detector.py DataQuantity Subject DataPath SavePath
python compiler.py DataQuantity Subject DataPath SavePath
)
)
我想使用嵌套for循环创建三个具有不同参数的python脚本。每个python脚本都有四个参数,其中两个是预先设置的,两个来自for循环
但我得到了以下错误:
“此时数据量意外”
修正了以下问题:
您缺少百分比字符:
在for use
%%
和to use setted变量use%VAR%
中相关问题 更多 >
编程相关推荐