I made a little add to the code I explained in another video to transform text from an external file in an mp3 with gtts module that makes use of the google API to work.
If you have problems with encoding, ie the interpreter gives you an error, write this: with open("text.txt", "r", encoding="utf-8") as file:
For linux
• Text to speech with python and linux
Auf dieser Seite können Sie das Online-Video Creating mp3 from a text file with python mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer John Starfire 12 Juni 2017 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 3,721 Mal angesehen und es wurde von 34 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!