How to use Python Threads?

前端 未结 0 352
没有蜡笔的小新
没有蜡笔的小新 2021-02-03 16:45

So I want to use like 1000 threads.

Anyone knows how?

import multiprocessing as mp
import requests

def my_func(x):
    for i in range(x): 
        print(r         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题