separating-words-stuck-together Separating words stuck together for Persian language and en from word import split s = split("testtest text2text این تست کلمات به همچسبیدهاست") print(" ".join(s)) output test test text 2 text این تست کلمات به هم چسبیده است