影刀变量获取语法
回答
收藏

影刀变量获取语法
10

贺伟
2025-11-26 09:36·浏览量:347
贺伟
发布于 2025-11-26 09:36347浏览

一个选择文件的变量

代码中 file_path要获取这个变量 excel_file_path


方式 A (常用): file_path = rpa.get_variable("excel_file_path")

方式 B (某些版本): file_path = context.get_variable("excel_file_path")

都不行 提示rpa未定义 或context未定义

file_path = RpaVariable.get('excel_file_path') 也不行



收藏
全部回答1
最新
发布回答
回答