2
我正在寻找在机器人框架级别上实现Python str.join
函数,我不确定正确的语法。我也显示代码的样子在Python(工作)在机器人框架内使用'str.join'语法
我已经试过这样:
机器人:
Set Suite Variable @{list} ['a', 'h', 'b', 'a', 'f', 'h', 'l']
Log @{','.join(list)}
代码在Python:
P = ['a', 'h', 'b', 'a', 'f', 'h', 'l']
print ','.join(P)