Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 21st, 2012  |  syntax: None  |  size: 0.15 KB  |  hits: 18  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. import subprocess
  2.  
  3. cmd = ["notify-send", "--hint=int:transient:1", '"Hello"', "-i", "/home/roman/multimedia/img/avatar_100x100_lj.jpg"]
  4.  
  5. subprocess.call(cmd)