import haha import time def c(): b=haha.Client(["127.0.0.1"]) while True: # time.sleep(1) c()