Pavle Djuric
Jan 13, 2022

--

Thanks for the kind words William, and thank you for that very good question. You're right, I could have imported the classes and functions that I needed in both ways that you have mentioned. I chose this option to expilcitly show that the as_completed function came from the concurrent.futures module. So basically, it is a style difference like you say.

--

--

Pavle Djuric
Pavle Djuric

Written by Pavle Djuric

Software developer. 3 x AWS certified. Writing mostly about Python, Golang, backend development and Cloud computing.

No responses yet