def notify_osx(story):
    cmd = u'terminal-notifier -title "New HN Story" -message "{}" -open {}'
    cmd = cmd.format(story['title'], story['url'])
    code = os.system(cmd)
    assert code == 0
Show notification on OS X
dataset/ETHPy150Open walkr/hn/hn/hnd.py/notify_osx