标签: python-3.x pyttsx
我想将i的输出作为pyttsx3的输入。这可能吗?
我浏览了文档!
import pyttsx3 engine=pyttsx3.init() sound=engine.getProperty('voices') engine.setProperty('voice',sound[1].id) engine.say('The output of first program') engine.runAndWait()
说出来!