Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (14 sloc) 550 Bytes
from louie import dispatcher, All
import manager
m = manager.Manager(configDir="localconfig")
def anyNotification(signal, **kw):
# demo that prints all params of all notifications
print "notification %s: %s" % (signal, kw)
dispatcher.connect(anyNotification, All)
def valueChanged(nodeId, label, value):
# demo that announces value changes
print "Value of node %s changed: %s -> %s" % (nodeId, label, value)
dispatcher.connect(valueChanged, "ValueChanged")
from IPython.Shell import IPShellEmbed
ipshell = IPShellEmbed()
ipshell()
Something went wrong with that request. Please try again.