Python15 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-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. 텍스트 수정 파일 제작기 - 04 from tkinter import * tk = Tk() tk.title('텍스트 파일 수정 도구 v0.04') file_path = 'C:\\Users\\SungJin Jo\\Desktop\\test.txt' tk.geometry('1000x400') tk.resizable(0, 0) def check(): global num_check num_check = entry_num.get() if(ord(num_check) >= 48 and ord(num_check) = 48 and ord(num_check) 2022. 7. 11. 이전 1 2 3 4 다음