def speak(*args): from subprocess import Popen, PIPE cmd = ["/usr/bin/say"] cmd.extend(args) Popen(cmd, stdout=PIPE, stderr=PIPE).communicate()
No comments:
Post a Comment