This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" ios clipboard to google TTS (in Spanish) | |
This was written for ios pythonista, a python 2.x language. It takes whatever is in the clipboard | |
and reads it out using google text-to-speech. The present form takes Spanish and reads it aloud as my | |
interest is in learning to understand spoken Spanish. I take text from the immersion part of | |
Duolingo and listen. It should be quite easy to modify for different purposes. | |
On a jail-broken device one can even: copy to clipboard, use activator to launch the pythonista script, and | |
have it start speaking! I simple gathered some python from the web, fit it together, debugged a bit, and I | |
had a new tool. Pythonista blew my mind. |