Created
June 22, 2010 14:12
-
-
Save kennethreitz/448510 to your computer and use it in GitHub Desktop.
Fun deploys on the mac
This file contains hidden or 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
| #!/usr/bin/env python | |
| import os | |
| from random import choice | |
| voices = [ | |
| "agnes", "kathy", "princess", "vicki", "victoria", "bruce", "fred", | |
| "junior", "ralph", "albert", "bad", "bahh", "bells", "boing", | |
| "bubbles", "cellos", "deranged", "good", "hysterical", "pipe", | |
| "trinoids", "whisper" | |
| ] | |
| msgs = [ | |
| "deploy is now complete", "deploy complete", "deploy completed", | |
| "sir the deployment has finished", "hey the deploy is done", | |
| "look at this cool deploy", "deployment completeed" | |
| ] | |
| os.system('say -v {0} "{1}"'.format(choice(voices), choice(msgs))) |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I need to integrate Growl in this..