from gtts import gTTS
import os
text = open("demo.txt", 'r').read()
language = 'en'
output = gTTS(text =text, lang=language ,slow=False)
output.save('file.mp3')
os.system('start file.mp3')

#for language code search google speech language code 
3a20f51968c7c581a767434ce7f25a540d40c083
<mask token>

<mask token>
output.save('file.mp3')
os.system('start file.mp3')

<mask token>
text = open('demo.txt', 'r').read()
language = 'en'
output = gTTS(text=text, lang=language, slow=False)
output.save('file.mp3')
os.system('start file.mp3')

from gtts import gTTS
import os
text = open('demo.txt', 'r').read()
language = 'en'
output = gTTS(text=text, lang=language, slow=False)
output.save('file.mp3')
os.system('start file.mp3')

from gtts import gTTS
import os
text = open("demo.txt", 'r').read()
language = 'en'
output = gTTS(text =text, lang=language ,slow=False)
output.save('file.mp3')
os.system('start file.mp3')

#for language code search google speech language code 