from twisted.internet import reactor from twisted.python import log from kademlia.network import Server import sys log.startLogging(sys.stdout) one = Server(1234) reactor.run()