This is Simple Python Program Which Converts Your Text to Speech.
First install Pyttsx3 using command : pip install pyttsx3
The code Provided in this repository reads up text that is assigned to variable x , as shown in image below
Edit the provided code such that it can directly fetch the information from a text file of your local system and read contents of file.
Rename your File to "Sample.txt"
Make Changes in code such that at time of execution user have a choice to hear speech in a Male or Female Voice.