Re: [Twisted-Python] running code on its own and importing, howto install a different reactor?
steven meierwrites: > if __name__ == '__main__': > import qt5reactor > qt5reactor.install() > from twisted.internet import reactor > reactor.callWhenRunning(print_it, reactor) > reactor.run() For "client-style" things (I guess I just mean "something
[Twisted-Python] running code on its own and importing, howto install a different reactor?
hi, i ran into this issue, i can run the code on its own "python working_code.py", but i cant import it...how do you fit the reactor in this scenario? python main_code.py Unhandled error in Deferred: Traceback (most recent call last): File