pip install gTTS
from gtts import gTTS
import os
text = "Hello, world"
tts = gTTS(text, lang='en')
# 音声ファイルとして保存
tts.save("hello_world.mp3")
# 再生(Windows)
os.system("start hello_world.mp3")
ソフトウェアエンジニアの技術ブログ:Software engineer tech blog
随机应变 ABCD: Always Be Coding and … : хороший