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

Popular posts from this blog

java Multi query from Mysql using netbeans -

c# - DotNetZip fails with "stream does not support seek operations" -

c++ - StartServiceCtrlDispatcher don't can access 1063 error -