python split one character code example
Example 1: how to split word in python
text= "I am Batman"
splitted_text= text.split()
Print(splitted_text)
Example 2: how to save string characters into char array or list in python
fd = open(filename, 'rU')
chars = []
for line in fd:
chars.extend(line)