mirror of
https://github.com/hastagAB/Awesome-Python-Scripts.git
synced 2024-12-18 08:10:17 +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()
|