@echo off rem CMD:"color --help" :: setting color:back white,content blue color f9 ::old string and replace string set old_str=ip set new_str=#ip :FILE set "souerce_path=D:\xxx\bat\my_test.txt" for /f "tokens=1* delims=:" %%i
#coding=utf-8print 1#初始化文件crash_log.log with open('e:/1/crash_log.log','w')as f: f.close() def fw(self): print with open('e:/1/monkey_log.txt','r')as f1 , open('e:/1/crash_log.log','a+') as f2: #设置循环读取每一行,判断过滤 while True: line=f1.readline() if '// Mo