diff options
Diffstat (limited to 'voice.py')
-rw-r--r-- | voice.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/voice.py b/voice.py new file mode 100644 index 0000000..2d3432d --- /dev/null +++ b/voice.py @@ -0,0 +1,13 @@ +#!/usr/bin/python + +from subprocess import Popen + +def say(text): + Popen(['espeak', '-v', 'es', text]) + + +def main(): + say(a)#que es esto? + +if __name__ == "__main__": + main() |