We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b23412 commit 5791026Copy full SHA for 5791026
README.md
@@ -1,5 +1,6 @@
1
# Python-
2
Python的小项目记录我成长的点滴
3
+
4
扫描ç段存活主机
5
6
import threading
@@ -8,6 +9,7 @@ import subprocess
8
9
import sys
10
11
class Ping(threading.Thread):
12
13
def __init__(self,queue):
14
threading.Thread.__init__(self)
15
self._queue = queue
@@ -22,7 +24,9 @@ class Ping(threading.Thread):
22
24
print(ip)
23
25
26
27
28
def main():
29
30
threads = []
31
threads_count = 50
32
queue = Queue.Queue()
@@ -40,4 +44,5 @@ def main():
40
44
i.join()
41
45
42
46
if __name__ == "__main__":
47
43
48
main()
0 commit comments