我需要有关 python 脚本的帮助才能在 SPSS 中运行流。现在我正在使用代码将数据导出到 Excel 文件中并且它可以工作。但是在将数据导出到 Excel 文件之前,此代码需要一个手动步骤。
stream = modeler.script.stream() **- geting stream in SPSS;**
output1 = stream.findByType("excelexport", "1") **- then searching Excel file with name "1";**
results = [] **- then run all stream;**
output1.run(results) **- but here I need to press button to finish execution(Have a look screenshots);**
output1 = stream.findByType("excelexport", "2") **- this the next step!**
results = []
output1.run(results)
我想完全自动化流。请帮我!非常感谢!