Python String join() Method
Join all items in a tuple into a string, using a hash character as separator:
x = "#".join(myTuple)
Definition and Usage
join() method takes all items in an iterable
and joins them into one string.
A string must be specified as the separator.
|iterable||Required. Any iterable object where all the returned values are strings|
Join all items in a dictionary into a string, using the word "TEST" as separator:
mySeparator = "TEST"
x = mySeparator.join(myDict)
Note: When using a dictionary as an iterable, the returned values are the keys, not the values.