Learning concurrent.futures

Hello out there! from now on I’ll try to share my Python knowledge in this ‘blog’. Hopefully this will become an habit and I won’t have to think about it.

The challenge is to get as fast as possible hostnames for several Dell Force10 S4048.

here

I’ve hardcoded a lot on purpose. It’s your job to use argsparse or whatever you want :)

If you would like to add more devices edit line 47. Maybe you want to read a file and retrieve a list? or use sqlite3?

Another approach here.

I do recommend you to read Fluent Python. Want an example?

Written on January 30, 2018