#!/usr/bin/env python # encoding: utf-8 #__author__ = 'cp' #__date__ = '21/07/16 上午 10:32' import threading import time import pexpect import paramiko def copy_file(ip,username,pwd,source_file_name,dest_dir, flag,result,*args,**kwargs): #下发文件到目的主机 co