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

Published: 14 May 2023
on channel: 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


On this page of the site you can watch the video online Text To Speech convertor using Python || Python project || c4rcoding with a duration of hours minute second in good quality, which was uploaded by the user C 4r Coding 14 May 2023, share the link with friends and acquaintances, this video has already been watched 29 times on youtube and it was liked by 4 viewers. Enjoy your viewing!