python利用paramiko实现交换机巡检的示例

直接上代码#-*- coding:UTF-8 -*- import paramiko import time starttime = time.strftime('%Y-%m-%d %T') start_info = "巡检开始时间:"+str(starttime) cmd_filepath = r"d:\Python

2020-09-23 07:33:40
1253067 TFnetwork_cn