변환1 파일 확장자 변환 프로그램 import os, sys, glob if os.path.isdir ('txt_files'): os.system('\\rm -rf txt_files') os.system('mkdir txt_files') flist=glob.glob('*') for f1 in flist: if f1[-2:] == ".v": os.system('cp %s ./txt_files/%s'%(f1, f1[:-2]+".txt")) 2021. 3. 27. 이전 1 다음