mirror of
https://github.com/hastagAB/Awesome-Python-Scripts.git
synced 2024-11-30 15:31:07 +00:00
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()
|