python - how can i convert a tuple into string -
python - how can i convert a tuple into string -
using databaselibrary robot framework list of tuples
@{recordlist} query select * employee
how can convert string? want write file.
when seek ${element} in @{recordlist}
str{$element}
if value in tuple "correct_text" prints "str(correct_text)" file.
the built-in library robot contains keyword catenate, can used convert list or tuple string. default place space between each item, can specify different character if wish.
| | ${str}= | catenate | @{recordlist} | | | append file | /tmp/junk.txt | ${str}
python robotframework
Comments
Post a Comment