Skip to content

Commit 5791026

Browse files
authored
Update README.md
1 parent 3b23412 commit 5791026

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Python-
22
Python的小项目记录我成长的点滴
3+
34
扫描ç段存活主机
45

56
import threading
@@ -8,6 +9,7 @@ import subprocess
89
import sys
910

1011
class Ping(threading.Thread):
12+
1113
def __init__(self,queue):
1214
threading.Thread.__init__(self)
1315
self._queue = queue
@@ -22,7 +24,9 @@ class Ping(threading.Thread):
2224
print(ip)
2325

2426

27+
2528
def main():
29+
2630
threads = []
2731
threads_count = 50
2832
queue = Queue.Queue()
@@ -40,4 +44,5 @@ def main():
4044
i.join()
4145

4246
if __name__ == "__main__":
47+
4348
main()

0 commit comments

Comments
 (0)