Answer the question
In order to leave comments, you need to log in
What to read about multithreaded programming in python?
Good afternoon!
The task is to develop a proxy checker in python (there is a lot of code on github and stackoverflow, but I would like to figure it out on my own). But, because checking proxies in one thread is very slow, the task arose, to make multithreading. At the moment, I can implement the launch of several versions of the script, but I would like the script itself to process the list of proxies multithreaded.
Therefore, the question is, what to read about the implementation of multi-threaded programming in python (there is no programming experience in other languages)?
Answer the question
In order to leave comments, you need to log in
Documentation
https://docs.python.org/3.4/library/threading.html
https://docs.python.org/3.4/library/multiprocessin...
Here , for example, is an old article about IBM
Why don't you google it yourself ?
It seems to me that with streams just the opposite is true - it will be slow.
Here: How to properly close a stream in python? I've described a couple of flow patterns - you need a "winner" pattern.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question