Public feed #1865986

Unnamed

public php v1 · immutable
Raw Edit
·published 2010-04-18 07:18 UTC
rendered paste body
#!/usr/bin/pythonfrom pynotify import *import sysdef notify(desc="",message=""):    n = Notification(desc, message)    n.show()init("cli notify")if len(sys.argv) > 1:    notify(sys.argv[1], sys.argv[2])else:    notify()