python 2.7 string to array code example Example: python string to array >>> text = 'a b c' >>> text = text.split(' ') >>> text [ 'a', 'b', 'c' ]