diff --git a/main.py b/main.py index 2a6a854..a08a99d 100644 --- a/main.py +++ b/main.py @@ -9,6 +9,7 @@ tmpips = [] #NOTE Need to reset this variable between runs ips = [] ipdict = {} currValue = "" +threads = {} class threadedLookup(threading.Thread): def run(self): @@ -60,7 +61,7 @@ for value in ips: print currValue lookupThread = threadedLookup(name = "lookup" + value) lookupThread.start() - +print(threading.active_count()) time.sleep(10) #pprint(ipdict)