S
S
sinbadxiii2016-02-23 15:58:11
Python
sinbadxiii, 2016-02-23 15:58:11

How to convert asynchronous print result output to synchronous output via self.write in Tornado?

Hi all!
Guys, there is an application that spins on Tornado and pulls messages from pubnub.com
The end result displays the necessary messages in the print console, but when you try to transfer the entire array to the browser through write, everything is covered with a basin.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MaxR, 2016-03-03
@MaxR

And what error is displayed? It is possible even with traceback.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question