python string separate by character code example Example: how to split word in python text= "I am Batman" splitted_text= text.split() Print(splitted_text)