Skip to main content

All Questions

1 vote
0 answers
81 views

How to make a python multi-threading scraper as a websocket server

I currently have a python multi-threading scraper that looks like following, how can I turn this into a websocket server so that it can push message once the scraper found some new data? Most ...
MachineLearner's user avatar
1 vote
1 answer
2k views

How to return values ​from an asynchronous function that is executed in a thread in python?

I am new to asynchronous functions and threads, and I am trying to return a series of values ​​obtained from a Web socket to pass to another thread where synchronous code is executing. In the code, I ...
Abner's user avatar
  • 71