では何とかのpython 3.5スピーチのテキストを音声に変換するのpython 3.5
import speech
import time
response = speech.input("Say something, please.")
speech.say("You said " + response)
def callback(phrase, listener):
if phrase == "goodbye":
listener.stoplistening()
speech.say(phrase)
listener = speech.listenforanything(callback)
while listener.islistening():
time.sleep(.5)
エラーのテキストを音声に使用することが可能ということです
gTTS HTTPError: 403 Client Error: Forbidden for url
[ "でSyntaxError: '印刷' への呼び出しに括弧がありません" 何?Pythonで意味]の可能性のある重複します(httpを:// stackoverflowの.com/questions/25445439/what-does-syntaxerror-missing-括弧はprint-mean-in-pythonで –