mirror of
https://github.com/hastagAB/Awesome-Python-Scripts.git
synced 2024-11-27 22:11: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()
|