J'utilise pynotify et c'est le code que je suis en train de se rendre au travail:Python: problème de réseau pynotify
#! /usr/bin/python
try:
import pynotify
if pynotify.init("Telebrama Alert"):
n = pynotify.Notification('Message','This is test message')
n.set_urgency(pynotify.URGENCY_CRITICAL)
n.show()
else:
print 'There was a problem in initializing the pynotify module'
except:
print "you don't seem to installed pynotify\n"
Il fonctionne très bien sur mon ordinateur. Mais je veux envoyer une notification à un autre réseau. Comment puis-je le faire fonctionner?
peut vous au moins essayer de formater votre code ? – mhawke
Le lien dans la question pointe vers pyinotify (notez la bibliothèque "i" supplémentaire) qui n'est pas liée. –