Answer the question
In order to leave comments, you need to log in
How to create multithreaded post requests?
It is necessary to make multi-threaded post requests. For example, a person sends lines like this: dkdkd39fkk9493dx: 93dkdk3939: fkfk484fkff: dkd4848 Maybe one or many. It is necessary that one line be selected from this array, a post request is sent (already ready) and the line is deleted until the lines run out. Please tell me how to implement this
Answer the question
In order to leave comments, you need to log in
from requests import *
from threading import Thread
def posst():
[tab here]string='your string'
[tab here]newstring=string.split['separator']
[tab here]for i in newstring: #i is an element separated line
[here tab][here tab]here is your post request
if I understood you correctly then here
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question