Simple-Netmiko-Threading-Example
Simple-Netmiko-Threading-Example copied to clipboard
python3
If you want to use python3 (as python 2 is deprecated) and keep the code up to date, this should be changed in the top:
old: from Queue import Queue new: from multiprocessing import Queue
And at the end: old: dict.iteritems new: dict.items old: print k new: print(k) old: print val new: print(val)
Now it works on python3. Thanks 👍