Ich kann es einfach nicht herausfinden .... Ich weiß, wie python
kann meine Stimme erkennen, aber ich weiß nicht, wie man python
Text hörbar zu machen.Wie Python hörbar Text lesen
from time import sleep
import sys
print("Tell me something...")
LOL = input()
sleep(2)
print("Thinking...")
sleep(2)
if LOL == 'Hey' or LOL == 'Hello':
??? #I want it to say Hello too!
else:
print("ERROR")
sys.exit()
Lassen Sie mich prüfen ... –
Was ist das .... http: //code.activestate.com/recipes/578839-python-text-to-speech-with-pyttsx/ –