전체 글25 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. 디렉토리 Search-02 import os from tkinter import * import tkinter.ttk as ttk tk = Tk() tk.geometry("500x500") path = os.getcwd() combobox = ttk.Combobox(tk) ''' filename = [] filedir = [] full_filename = [] full_filedir = [] name_0 = [] ext_0 = [] t = 0 '파일 명' with os.scandir(path) as entries: for entry in entries: if entry.is_file(): filename.append(entry.name) '파일 디렉토리' with os.scandir(path) as entries: for entr.. 2022. 7. 25. 디렉토리 Search-01 import os path = os.getcwd() filename = [] filedir = [] full_filename = [] full_filedir = [] name_0 = [] ext_0 = [] t = 0 '파일 명' with os.scandir(path) as entries: for entry in entries: if entry.is_file(): filename.append(entry.name) '파일 디렉토리' with os.scandir(path) as entries: for entry in entries: if entry.is_dir(): filedir.append(entry.name) '경로+파일명' for t in range(0,len(filename)): full_filena.. 2022. 7. 21. Fortigate를 이용한 기본 통신 * G0/0은 vlan 10번 적용 * G0/0은 vlan 10번 적용 ----------------------------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------- Fortigate 초기 설정 set mode static 명령.. 2022. 7. 13. 이전 1 2 3 4 5 6 7 다음