Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (9 sloc) 194 Bytes
from zmqfan import zmqsub
import sys
import time
import pprint
if __name__ == '__main__' :
sub = zmqsub.ConnectSub(sys.argv[1])
while True :
pprint.pprint(sub.last_msg())
time.sleep(1.0)