filmov
tv
how to create Text to speech converter GUI app using python tkinter,gtts and playsound libraries

Показать описание
gTTS (Google Text-to-Speech)is a Python library and CLI tool to interface with Google Translate text-to-speech API. We will import the gTTS library from the gtts module which can be used for speech translation. The text variable is a string used to store the user's input.
The playsound module is a cross platform module that can play audio files. This doesn't have any dependencies, simply install with pip in your virtualenv and run! 1. 2. from playsound import playsound.
The playsound module is a cross platform module that can play audio files. This doesn't have any dependencies, simply install with pip in your virtualenv and run! 1. 2. from playsound import playsound.