import pyttsx3
engine = pyttsx3.init()
rate = engine.getProperty('rate')
engine.setProperty('rate', 120)
engine.say('因为有星,夜才不会黑暗;因为有天,海才一片蔚蓝;因为有梦,生命充满期盼;因为有你,生活充满笑颜,因为有你,我的世界一片灿烂!')
engine.runAndWait()
import pyttsx3
student_list = ['小老弟']
engine = pyttsx3.init()
engine.say (student_list)
engine.say('你今天过得怎么样?')
engine.runAndWait()