• Darth Friese

    I can get it to change languages, and apparently Klingon is an option in pythonista. Not sure what it accomplishes, but it is fun. By default it will use the language set on the phone but you can lookup other BCP 47 language identifier. They usually look like "en-US" for American English or "de" for German.

    def count_down():
        num = input("Number to countdown from:   ")
        for i in range(int(num), -1, -1):
            speech.say(str(i), "i-klingon")
            print(i)
            time.sleep(1.0)
        speech.say("SoHDaq destruct ghuS", "i-klingon")
    
    if __name__ == "__main__":
        count_down()
    

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!