#python #pythonprojects #pythonprogramming #pythontutorial #pythonforbeginners #c4rcoding #texttospeech
------------Project Code------------
from gtts import gTTS
import os
sample = input("Enter Text file name: ")
#enter file name that you want to convert
f = open(sample)
text = f.read()
language = 'en'
obj = gTTS(text=text,lang=language,slow=False)
obj.save("sample.mp3")
os.system("sample.mp3")
#to open output file automatically
#python #pythonprojects #pythonprogramming #pythontutorial #pythonforbeginners #c4rcoding #texttospeech
Sur cette page du site, vous pouvez voir la vidéo en ligne Text To Speech convertor using Python || Python project || c4rcoding durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur C 4r Coding 14 mai 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 29 fois et il a aimé 4 téléspectateurs. Bon visionnage!