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)