Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/p/y/pylehash-HEAD/examples/bulletin.py   pylehash(Download)
def main():
    port, switch = pylehash.get_switch_from_args()
    stdio.StandardIO(BulletinAppUI(switch))
    pylehash.reactor.listenUDP(port, switch)
    pylehash.reactor.run()

src/p/y/pylehash-HEAD/examples/repl.py   pylehash(Download)
def main():
    port, switch = pylehash.get_switch_from_args()
    stdio.StandardIO(InteractWithSwitch(switch))
    pylehash.reactor.listenUDP(port, switch)
    pylehash.reactor.run()