Lawrence D’Oliveiro wrote:
On Friday, November 24, 2017 at 3:27:17 AM UTC+13, zlju...@gmail.com wrote:Looks like I need some sort of parallelization.This is why coroutines were added to Python. Threading is notoriously bug-prone, and is best avoided in most situations.
The OP claimed that the timing of the update task is critical, and needs to take priority over serving web pages. Coroutines won't be able to achieve that. -- Greg -- https://mail.python.org/mailman/listinfo/python-list