From 4ade43801d08f0250cdc6a0eea310ca744f961e8 Mon Sep 17 00:00:00 2001 From: Benajmyn Love Date: Tue, 20 Feb 2018 09:28:43 +1100 Subject: [PATCH] testing something --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)