convert string of characters to string python code example
Example 1: how to join a list of characters in python
>>> a = ['a', 'b', 'c', 'd']
>>> ''.join(a)
'abcd'
Example 2: python string to char array
>>> s = "foobar"
>>> list(s)
['f', 'o', 'o', 'b', 'a', 'r']