Simple-Netmiko-Threading-Example icon indicating copy to clipboard operation
Simple-Netmiko-Threading-Example copied to clipboard

python3

Open aboyum opened this issue 5 years ago • 0 comments

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 👍

aboyum avatar Aug 13 '20 15:08 aboyum