Text To Speech convertor using Python || Python project || c4rcoding

Pubblicato il: 14 maggio 2023
sul canale di: C 4r Coding
29
4

#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


In questa pagina del sito puoi guardare il video online Text To Speech convertor using Python || Python project || c4rcoding della durata di ore minuti seconda in buona qualità , che l'utente ha caricato C 4r Coding 14 maggio 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 29 volte e gli è piaciuto 4 spettatori. Buona visione!