def spyLCMTraffic():

    lc = lcm.LCM()
    lc.subscribe('.+', onLCMMessage)

    try:
        while True:
          lc.handle()
    except __HOLE__:
        pass

    print
    print
    printLCMCatalog()
dataset/ETHPy150Open RobotLocomotion/director/src/python/director/lcmspy.py/spyLCMTraffic