mirror of
https://github.com/hastagAB/Awesome-Python-Scripts.git
synced 2024-11-30 15:31:07 +00:00
1d2de84900
* New commit * Added example file (run.py) * New commit * Added 'TTS - Text to Speech Mp3'
9 lines
118 B
Python
9 lines
118 B
Python
from gtts import gTTS
|
|
|
|
def main():
|
|
tts = gTTS('hello')
|
|
tts.save('hello.mp3')
|
|
|
|
if __name__ == "__main__":
|
|
main()
|