# Pastebin 77xUOKPE def run(f, *args, *kwargs): @run_in_reactor def wrapper(reactor): f(*args, **kwargs) wrapper()