SSH3 netmiko ssh 접속 프로그램 (수정2) (신버전)import osimport syssys.path.append(os.getcwd() + "\lib")import pandas as pdfrom netmiko import SSHDetect, ConnectHandler, NetmikoAuthenticationException, NetmikoTimeoutExceptionfrom paramiko.ssh_exception import SSHExceptionimport PySimpleGUI as psgimport datetimeimport threadingimport concurrent.futuresimport time# 엑셀 읽어오기def xlsx_read(pd_name): pd_xlsx = pd.read_excel(pd_name, engin.. 2024. 1. 24. paramiko ssh 접속 개선판 (수정2) (신버전)import osimport syssys.path.append(os.getcwd() + "\lib")import paramikofrom paramiko import SSHException, AuthenticationExceptionimport datetimeimport timeimport pandas as pdimport threadingimport PySimpleGUI as psg # 엑셀 읽어오기def xlsx_read(pd_name): pd_xlsx = pd.read_excel(pd_name, engine = "openpyxl", sheet_name=0) try: pd_name = pd_xlsx['hostname'].values.tolist(.. 2024. 1. 24. R&S 파이썬 자동화 설치할 모듈: paramiko, pandas,openpyxl #-------------------------------------------# # # # Network Script tool # # Version 1.1.3 # # Make Jo Sung Jin # # # #-------------------------------------------# import paramiko import telnetlib import socket import time import os import pandas as pd from io import StringIO import threading import argparse parser = argparse.ArgumentParser(description='Use confi.. 2022. 8. 12. 이전 1 다음