In this talk we’ll discuss why synchronous software is a problem, what your options are to move away from it, and what challenges are being faced by the Python ecosystem as we try to move towards a brave new asynchronous world.
from concurrent.futures import ThreadPoolExecutor def work(url): r = requests.get(url) do_stuff_with(r.content) with ThreadPoolExecutor(max_workers=10) as e: e.map(work, urls)