I have 2 pieces of code. In the first -receiving events, in the second -the input, which is in the while True:loop
@ account.message_handler () ... while True: input= input ('>')
I need the code to be able to simultaneously output the received events, and also not to close the input line. How can this be done?