#安装库(必须先安装pywin32)
pip3 install pyttsx3

 

简单测试

import pyttsx3
engine = pyttsx3.init()
text='name'
engine.say(text)
engine.runAndWait()

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-22
  • 2021-08-06
  • 2021-12-17
  • 2021-06-03
  • 2022-02-19
猜你喜欢
  • 2021-12-23
  • 2021-05-22
  • 2021-05-19
  • 2021-08-30
  • 2022-12-23
相关资源
相似解决方案