<reponame>nlovin/telefonbuch<gh_stars>0
from gtts import gTTS
import os

fh = open("telefonbuch2.txt", "r")
buch = fh.read().replace("\n", " ")

language = 'en'

output = gTTS(text=buch, lang=language, slow=False)

output.save("telefonbuchleser.mp3")
fh.close()
os.system("start telefonbuchleser.mp3")
from gtts import gTTS
import os

fh = open("telefonbuch2.txt", "r")
buch = fh.read().replace("\n", " ")

language = 'en'

output = gTTS(text=buch, lang=language, slow=False)

output.save("telefonbuchleser.mp3")
fh.close()
os.system("start telefonbuchleser.mp3")