分类目录归档:script

python ping threading


import subprocess
    import time, os
    import threading
    from queue import Queue
    WORD_THREAD = 50
    # 记录开始执行的时间
    start_time = time.time()

    # 定义用来 ping 的2
    #
    #
    # 54 个 ip
    # ip_list = ['172.16.6.'+str(i) for i in range(1,255)]
    #
    # for ip in ip_list:
   

Read more