Python多线程
import threading threads = [] # 多线程 print("Begin......") ip = '200.200.140.47' port = 22345 a = threading.Thread(target=ssh_exec, args=( ip, port, username, passwd, cmd)) a.start()