This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Import the Gtts module for text | |
# to speech conversion | |
from gtts import gTTS | |
# import Os module to start the audio file | |
import os | |
fh = open("test.txt", "r") | |
myText = fh.read().replace("\n", " ") |