Skip to content

Instantly share code, notes, and snippets.

View dominicgs's full-sized avatar

Dominic Spill dominicgs

View GitHub Profile
dominicgs /
Created November 7, 2012 03:21 — forked from ipmb/
Say election results (with Linux support)
#!/usr/bin/env python
import time
import json
import urllib2
import os
platform = os.uname()[0]
if platform == 'Darwin':
import subprocess
def speak(phrase):