Asynchronous HTTP calls in Python

后端 未结 4 662
失恋的感觉
失恋的感觉 2020-12-05 15:29

I have a need for a callback kind of functionality in Python where I am sending a request to a webservice multiple times, with a change in the parameter each time. I want t

4条回答
  •  北荒
    北荒 (楼主)
    2020-12-05 16:20

    Twisted framework is just the ticket for that. But if you don't want to take that on you might also use pycurl, wrapper for libcurl, that has its own async event loop and supports callbacks.

提交回复
热议问题