T
T
tutunak2014-05-27 17:18:06
Python
tutunak, 2014-05-27 17:18:06

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

3 answer(s)
W
wiygn, 2014-05-28
@tutunak

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 ?

O
Oleg Wock, 2014-05-29
@OlegWock

It seems to me that with streams just the opposite is true - it will be slow.

S
Sly_tom_cat ., 2015-09-10
@Sly_tom_cat

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 question

Ask a Question

731 491 924 answers to any question