feat: say.py

This commit is contained in:
小尛
2023-04-24 13:02:48 +08:00
parent 758b9c0b33
commit 0a1b6cf742
2 changed files with 8 additions and 0 deletions

7
pytts/say.py Normal file
View File

@@ -0,0 +1,7 @@
import pyttsx3
import sys
a = pyttsx3.init()
a.say(sys.argv[1])
a.runAndWait()