Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Pythonランダムに選ばれた数字を話すプログラムを作成する必要があります。のように、Python11 番が表示されmbrola、 の場合は「11」と表示されます。それは非常に単純です。私はほとんどすべてを作成しましたが、必要なのは makeが!Pythonを使用してそれを話すことだけです。mbrola
Python
mbrola
いくつか例を教えてください。
pyttsx物事を話すというpythonモジュールがあります。pip install pyttsxを使用してインストールし、そのまま使用できます
pyttsx
pip install pyttsx
import pyttsx as tts engine = tts.init() engine.say('Eleven') engine.runAndWait()