def main(): ticker = Ticker(0.1 * SECOND) for i in range(3): print(ticker.c.recv()) ticker.stop()
def main(): ticker = Ticker(0.1 * SECOND) for i in range(3): rlist.append(ticker.c.recv()) ticker.stop()